Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Pick one of the following scenarios and model using at least 5 classes: one parent, two children, and two grandchildren of one of the child

Pick one of the following scenarios and

  • model using at least 5 classes: one parent, two children, and two grandchildren of one of the child classes.
  • Provide at least one field and one method that compellingly differentiates each class from the others.
  • Do not include constructors, getters, or setters in your description.

Scenarios - lots of them spring to mind, but I don't want the list to be too long. In this way, you can compare your ideas with those of other students, and I encourage to consider what other students have posted, you are also encouraged to make suggestions of other's postings and make additional postings updating your own ideas in light of the suggestions by others.

  1. An airplane
  2. A train
  3. An e-commerce company (eg, Amazon)
  4. A city government
  5. An airline (aspects of an entire company)
  6. A government organization (eg, EPA, Defense)
    1. NOTE: A general is not a kind of private, nor is a private a kind of general, for example.
    2. Also, a general is not a kind of Defense Department
    3. THUS: not all hierarchies are class hierarchies!

Can you help me make one based off of types of aircraft

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PostgreSQL 10 High Performance Expert Techniques For Query Optimization High Availability And Efficient Database Maintenance

Authors: Ibrar Ahmed ,Gregory Smith ,Enrico Pirozzi

3rd Edition

1788474481, 978-1788474481

More Books

Students also viewed these Databases questions