Object Oriented PHP wihout framework (Urgent)

1.Create one class customer Flight who has Flight Number, Departure Time, Arrival
Time Description, Type, Airline. AirplaneType
2.When some call class he can create object and assign different properties. Also
add methods
3.Define Three methods in flight class, Departed, Arrived, ChangeAirplane and it
two methods accept time, so if time is different from arrival time than it should
said it is late or earlier and if it is departing so it can compare and says it is late or
early. While last method should accept flight type
4.Now access Get and set class Flight property by ensuring that departure time is
actual time, and number is flight number in three digits and Airline is from
another table Airlines.

Good luck with that :slight_smile:

Sounds like a homework assignment or a person who was hired as a developer who doesn’t know how to write code. All I know, I hope it’s not the later. ::slight_smile:

If we do your homework how are you going to learn anything?

Sponsor our Newsletter | Privacy Policy | Terms of Service