writing a reference class that consist of the 2nd and 3rd instance variables below. my class should consist of an array of values in the 2nd instance variable and I am struggling with the 4th instance variable. Write a reference class called CTATrain
that models information about a CTA "L" train making its run. The instance variables should contain information about the train's:
- run number, an integer;
- line color, a string containing one of the values "red", "green", "blue", "purple", "brown", "pink", "orange", or "yellow";
- next station, a string containing the name of the station it will next arrive at;
- arrival time, a string of the form "hh:mm:ss" indicating when it is expected to arrive at that station