Question: I NEED IT BY DRJAVA PROGRAM Cats and Dogs 11/03/2017 at 11:55PM Objective: Write a program where a user populates a collection of various cats
Cats and Dogs 11/03/2017 at 11:55PM Objective: Write a program where a user populates a collection of various cats and dogs. The user should be able to specify which type they wish to enter, and then are prompted with the pertinent information for every type of pet Requirements The structure of the program should follow this UML class diagram You may also include helper methods and attributes that are not noted in the class. Additional Notes: . The weight for animal should be strictly greater than 0 . The mood for a cat should either be "sleepy" "playful", or "hungry . The energy level for a dog should be between 0 and 100 inclusively . The type of house cat should one of the following o Short Hair o Bombay o Ragdoll o Sphinx o Scottish Fold . The type of domestic dog should be one of the following o Retriever o Terrier o Husky o Yappy o Mutt . In addition to what's specified in the UML diagram, the classes, Animal, Cat, Dog HouseCat, Leopard, Domestic Dog, and Wolf must have o Constructors (Both default and parameterized) o Accessors and Mutators
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
