Write a program that will create a virtual zoo of animals. This zoo will contain all sorts of information on various different types of animals, such as an their height , how fast they can move  in different types of environments , and their unique properties .

Animal Inheritance Program

Project Prompt

Write a program that will create a virtual zoo of animals. This zoo will contain all sorts of information on various different types of animals, such as an their height , how fast they can move  in different types of environments , and their unique properties . The user will input the exact number of animals for our zoo to contain. From this number, the animals that get added to the zoo will be randomly chosen from a selection of four possibilities: Squirrels, Pelicans, Crabs, and Lobsters. Regardless of the random selections, every animal will have all of its information printed out in a clean and organized fashion for easy reading.

What does this project cover?

This project is going to cover everything from the course in regards to inheritance. This includes code reusability, parent/child class relationships, the “super” and “protected” keywords, abstract classes, interfaces, overriding, overloading, casting, and packages. It will also cover topics from previous lectures, such as static/object classes and input error checking.

How to begin working on this project

In the previous project, we were introduced to using multiple code files: two classes. But in this project, we are now going to use NINE code files: one static class, four object classes, one abstract class, and three interfaces:

Running.java

Interface

Flying.java

Interface

Swimming.java

Interface

Animal.java

Abstract Class

Squirrel.java

Object Class

Pelican.java

Object Class

Crab.java

Object Class

Lobster.java

Object Class

Project6.java

Static Class

Last Completed Projects

topic title academic level Writer delivered
© 2020 EssayQuoll.com. All Rights Reserved. | Disclaimer: For assistance purposes only. These custom papers should be used with proper reference.