SHARE
TWEET

Untitled

a guest Jun 19th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Metro
  2. {
  3.     // Data that will hold each of our metros
  4.     private String code;
  5.     private String name;
  6.     private String country;
  7.     private String continent;
  8.     private String timezone;
  9.     private String coordinates;
  10.     private String population;
  11.     private String region;
  12.    
  13.     public String getCode( )
  14.     {
  15.         return code;
  16.     }
  17.    
  18.     public String getName( )
  19.     {
  20.         return name;
  21.     }
  22.    
  23.     public String getCountry( )
  24.     {
  25.         return country;
  26.     }
  27.    
  28.     public String getContinent( )
  29.     {
  30.         return continent;
  31.     }
  32.    
  33.     public String getTimezone( )
  34.     {
  35.         return timezone;
  36.     }
  37.    
  38.     public String getCoordinates( )
  39.     {
  40.         return coordinates;
  41.     }
  42.    
  43.     public String getPopulation( )
  44.     {
  45.         return population;
  46.     }
  47.    
  48.     public String getRegion( )
  49.     {
  50.         return region;
  51.     }
  52. }
RAW Paste Data
Top