In this Java programming video I introduce a custom class that can be used to create objects to store population data. Member variables (Fields), a constructor using fields, and getters and setters are created, as well as the toString() method. We split a string with US Census Data for a single town into: city, state, and population. Than, create a Town object with the data, and print the object to the screen.
The playlist URL for this Java Tutorial is here: Playlist: • Java Fundamentals