In my program I am trying to write I want to call to another class which has variables stored in it that I want to call and print out in an entire different class under one package in eclipse. In this program I am trying to design a working airport in which it tracks airplanes coming in to the airspace then land and being taxied off. Also planes take off from this airport. So i created an airport class in which all the loops and functions take place then a Runway object class to store the different variables each plane created needed such as flight number, amount if fuel(if incoming), and incoming altitude (also if incoming). If any body could show me the syntax to connect these two classes. And if you know how priority queues work that would be helpful. If you need to see the code let me know
thanks