Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Metro
- {
- // Data that will hold each of our metros
- private String code;
- private String name;
- private String country;
- private String continent;
- private String timezone;
- private String coordinates;
- private String population;
- private String region;
- public String getCode( )
- {
- return code;
- }
- public String getName( )
- {
- return name;
- }
- public String getCountry( )
- {
- return country;
- }
- public String getContinent( )
- {
- return continent;
- }
- public String getTimezone( )
- {
- return timezone;
- }
- public String getCoordinates( )
- {
- return coordinates;
- }
- public String getPopulation( )
- {
- return population;
- }
- public String getRegion( )
- {
- return region;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement