Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Economics Expert

In this assignment, you will be creating several Java classes to model a small plane flying passengers from State College, PA to Orlando, FL.

You must include:

  • An Aircraft class
  • A Pilot class
  • A Passenger class
  • A Stewardess class
  • A Suitcase class
  • An Address class
  • A Map class

You must model the following relationships:

  • Each Aircraft contains one Pilot, one Stewardess, and four Passengers
  • Each person (Pilot, Stewardess, or Passenger) has a Suitcase
  • Each person (Pilot, Stewardess, or Passenger) has an Address
  • Each Pilot has a Map

Other requirements:

  • Your main() method must instantiate and populate each of these classes
  • Your Aircraft class must have a getInfo() method that returns all of the information about the aircraft, each person on board, and all of their items/attributes.  You should call this method from your main() method.
  • Your program must use an ArrayList of passengers
  • Your program must save your passenger list to an XML file using the techniques discussed in class.
  • Each class must have at least 2 (properly encapsulated) attributes (in addition to the required class relationships above).  See suggestions below if you have difficulty choosing attributes.

Class attribute suggestions:

  • Aircraft: maxSpeed, maxPassengers, numEngines
  • Pilot: yearsExperience, age, vision
  • Passenger: frequentFlyerPoints, finalDestination, seatingSection
  • Stewardess: yearsExperience, isFullTime, hoursWorked
  • Suitcase: numPockets, maxWeight, hasCarryStrap
  • Map: size, country, region
  • Address: city, state, zip

Business Economics, Economics

  • Category:- Business Economics
  • Reference No.:- M92209304
  • Price:- $25

Priced at Now at $25, Verified Solution

Have any Question?


Related Questions in Business Economics

Since quotas do not raise revenues but have the same trade

Since quotas do not raise revenues but have the same trade effects as do tariffs, why not just have tariffs? Why would the government impose quotas when tariffs not only would reduce imports but also bring in new revenue ...

Explain a situation using the supply and demand for skilled

Explain a situation using the supply and demand for skilled labor in which the increased number of college graduates leads to depressed wages. Given the rising cost of going to college, explain why a college education wi ...

What is the factors that determine wages which are largely

What is the factors that determine wages which are largely responsible for determining how the economy's total income is distributed among the various members of society?

Heightnbspinnbspinchesnbsp69nbsp67nbsp69nbsp71nbsp70nbsp72nb

Height in inches  69  67  69  71  70  72  Weight in lbs  164  161  189  192  184  198  a) Find the equation of the regression line with height as the explanatory variable and use the regression line to find the predicted ...

1 suppose you design a game with outcomes a b and c for

1. Suppose you design a game with outcomes A, B and C for which you can estimate probabilities Pr(A) = 0.01, Pr(B) = 0.09 and Pr(C) = 0.9. It costs the player $1 to play each time. If outcome C occurs, they win nothing. ...

Are the outcomes of hospital care different on weekends

Are the outcomes of hospital care different on weekends than weekdays? In a random sample of 500 patients who experienced severe medical complications after admission to acute care wards in three U.S. states from 1999 an ...

It has been a bad day for the stock market and you have

It has been a bad day for the stock market and you have heard that only 30% of all stocks gained value. Suppose you have a portfolio of 10 securities and assume a binomial distribution for the number of your stocks that ...

In a survey of 3439 adults 1418 say they have started

In a survey of 3439 adults, 1418 say they have started paying bills online in the last year. Construct a? 99% confidence interval for the population proportion. Interpret the results.

Trade restrictions can be implemented by tariffs and quotas

Trade restrictions can be implemented by tariffs and quotas acting on price and quantity respectively or by non-tariff barriers (NTBs). Explain what constitute NTBs ranging from industrial policy, technical barriers, sub ...

Describe two factors contributing to the gender pay gap

Describe two factors contributing to the gender pay gap. Write one equation or one graph for each. What policies could the government pursue to address each factor? Should the government do so?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As