Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have been approached by an airline that needs an airline management system. They will use this system to manage the records of their
You have been approached by an airline that needs an airline management system. They will use this system to manage the records of their staff, passengers, tickets, etc. a. Create a class for each (staff, passengers, tickets). Please apply the following concepts whenever they are necessary: abstraction, encapsulation, inheritance, static, method overriding, and use of interface. b. Create an ArrayList of 2 objects of each class ask the user to enter their information, and create a method to print their information. c. Create a method to calculate salary of staff, taking into account of type employee (accountant, receptionist, flight attendant, pilot, etc.). Assign each type of employee with a salary that you see fit. The method will calculate employee salary after a 15% tax rate.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
The image presents a question where you are tasked to work on an airline management system It consists of three parts each detailing a specific programming task involving objectoriented programming OO...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started