Question: i need help with this question. I looked at may examples of answers but im not understanding the process. Please make the answer unique and

i need help with this question. I looked at may examples of answers but im not understanding the process. Please make the answer unique and explain how you came up with it.

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.

An airplane

A train

An e-commerce company (eg, Amazon)

A city government

An airline (aspects of an entire company)

A government organization (eg, EPA, Defense)

NOTE: A general is not a kind of private, nor is a private a kind of general, for example.

Also, a general is not a kind of Defense Department

THUS: not all hierarchies are class hierarchies!

Note: This problem is NOT asking for a full implementation of these classes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!