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 airplaneA trainAn e-commerce company (eg, Amazon)A city governmentAn airline (aspects of an entire company)A government organization (eg, EPA, Defense)Note: This problem is NOT asking for a full implementation of these classes – a UML diagram, or similar level of detail, is adequate.I would emphasize the following kinds of relationships among classes:Is -a: parent/child relationship in a class hierarchyperhaps better to use the phrase “is a kind of”, as in “a Private is a kind of Soldier” or “a SportsCar is a kind of Car”is-some: a data structure in which all the elements have the same type. This is the place where one should use generic classes.This will not be the case in our project since we have a structure of Cave -> Party -> Creature -> Artifact and Treasure.has-a: an attribute (field) of one class inside anotherhas-some: a 1-to-n relationship,in our case a Party will have may Creatures, and a Creature will have many Artifacts and will also have many Treasures
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more