Question: Java Coding: Just writing Three classes: 1. A class named: Flight that represents a flight. A Flight object contains following things: A String name, represents

Java Coding: Just writing Three classes: 1. A class named: Flight that represents a flight. A Flight object contains following things: A String name, represents the flight's company name A int parameter, represent the number of passenger in that flight 4 time objects, represent flight's month, date, take off time and reach time A boolean parameter, represents whether the plane full 2. A class name: Price that represents the ticket price of this flight. A price object contains following things: A string name, represents flight company's advertisement A int parameter, represents the flight ticket's price 3. A class named: Time. A time object contains following things: 4 int parameters, represents month, date, hour and minute
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
