You have been approached by an airline that needs an airline management system. They will use...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
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... View the full answer
Related Book For
Introduction To Federal Income Taxation In Canada
ISBN: 9781554965021
33rd Edition
Authors: Robert E. Beam, Stanley N. Laiken, James J. Barnett
Posted Date:
Students also viewed these programming questions
-
Read the case study "Southwest Airlines," found in Part 2 of your textbook. Review the "Guide to Case Analysis" found on pp. CA1 - CA11 of your textbook. (This guide follows the last case in the...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Argon gas enters a constant cross-sectional area duct at Ma1 = 0.2, P1 = 320 kPa, and T1 = 400 K at a rate of 1.2 kg/s. Disregarding frictional losses, determine the highest rate of heat transfer to...
-
Assume that the expected inflation rate has just been revised upward by the market. Would the required return by investors who invest in the stocks be affected? Explain.
-
If a pump with the characteristics given in Fig. 14.10 is operated at a speed of 30 rps, what will be the shutoff head? 250 100 Efficiency 200 80 Power input, kW 150 Head ( , m. 100 40 50 20 N =...
-
On March 13, 1963, Ernesto Miranda was arrested for kidnapping and rape and taken to a Phoenix police station. After being identified by the complaining witness, he was questioned by two police...
-
Using present value techniques to evaluate alternative investment opportunities Fast Delivery is a small company that transports business packages between New York and Chicago. It operates a fleet of...
-
The trial balance for Lindor Corporation, a manufacturing company, for the year ended December 31, 2024, included the following accounts: Account Title Sales revenue Cost of goods sold Selling and...
-
Jack C. Schoenholtz was a shareholder and member of the board of directors of Rye Psychiatric Hospital Center, Inc. (Rye Hospital). Four years after the hospital was incorporated, a split had...
-
Dolls, Cars, activity kits, board games are toys liked by kids. An M/s Wonder kid, a company that has multiple businesses has been eying the opportunity to target kids with various toys. The company...
-
Explain why a monopolistically competitive firm should be operating below the minimum efficient scale.
-
Facts: Elon Musk and Shelon Musk (not related, just a weird coincidence) are the two individual shareholders of Talker, Inc. ("TALKER"), a Delaware corporation that operates a social media platform...
-
Do you think that NGOs provide a net benefit to international society or not? Provide examples to support your argument.
-
Suppose that firms production function is Q=min {2K, 4L}, and r=8$ and w=16$. Find the firms long-run total cost and average cost in terms of output.
-
1.Explain how permanent increase in national real money demand functions affects real and nominal exchange rates in the long run. 2.A new government is elected and announces that once it is...
-
Test for convergence or divergence for the series Inn [2n3. - n=1
-
Refer to Example 9.15. Add the following functionality to this program: Allow the user to enter the cost of a gallon of gas on each trip and use a function, Cost() to calculate the cost of purchasing...
-
On October 1, Roxanne acquired her brother's West Vancouver condominium rental property for $600,000 (ignore any land portion). Her brother has owned it for five years and had a capital gain of...
-
Up, Up and Away Limited is a public corporation that distributes hot air balloons in the Province of New Brunswick. For the year ended September 30, 2012, its accounting income statement was as...
-
Consider each of the following unrelated cases, involving the ownership of the common shares of Canadian-controlled private corporations, for taxation years of all corporations ending on December 31:...
-
At January 1, 2015, Cheng Company reported retained earnings of 20,000,000. In 2015, Cheng discovered that 2014 depreciation expense was understated by 4,000,000. In 2015, net income was 9,000,000...
-
Cherokee Construction Company changed from the cost-recovery to the percentage-of-completion method of accounting for long-term construction contracts during 2015. For tax purposes, the company...
-
In 2015, Bailey Corporation discovered that equipment purchased on January 1, 2013, for 50,000 was expensed at that time. The equipment should have been depreciated over 5 years, with no residual...
Study smarter with the SolutionInn App