Even complicated and confusing topics will be easily developed and covered if you request our help writing an essay. Place an order today!

So far, you have learned about design and how to create a simple Java application using an IDE. Now, you are going to gain some experience writing an object-oriented program with classes, objects, inheritance, and polymorphism. These terms sound complex, but you will find they are not difficult to use. You will be drawing on all the information you have gained, and this project will require some time, so start early, and pay attention to instructions.

 

For this project, you will write a Java program that allows the user to select an animal from a menu and then display information about the animal.

 

    Create a new project in your IDE named "AnimalInfo."

    Create a class called "AnimalInfo" as the main class for the program.

    Create a class called "Animal" with a virtual method displayInfo().

    Create 3 classes inherited from Animal (one for each of your animals). Each of the inherited classes should override Animal.displayInfo() to display information about the animal. The information should just be a short description of the animal displayed to the screen.

    In the AnimalInfo.main() method, display a menu allowing the user to choose 1 of 3 animals or quit the program. The menu should accept input from the user and take the appropriate action and then repeat until the user selects the option to quit. Hint: Simple menus are easiest to implement if the user selects a letter or number for each menu item.

    When the user selects an animal, use the displayInfo() method of the appropriate class to display information about the selected animal.

    Use comments throughout your code demonstrating your understanding of each statement of code.

    Make sure the program runs correctly before submission.

    Create a zip that includes your project folder and Word document, and upload it to the course portal.

testimonials icon
The relationship between the United States of America and Latin America nations has been turbulent...
testimonials icon
Mgt 230 Week 1 Individual Assignment Decision -Making Process Paper...
testimonials icon
Scenario: You have been retained by a group of investors who plan to manufacture and market a line of power hand tools,...
testimonials icon
This virus brings about a lost lasting infection that affects the general nervous system of variou...
testimonials icon
I’m sorry that you have to spend all that time without me. I’ve been fighting here at our homefo...
testimonials icon
Surname 1Instructors NameStudents NameCourse TitleDate of SubmissionIntroductionThe article Corporate Governance and the Shareholder: Asymmetry, Conf...
testimonials icon
Running head: ARTICLE SUMMARY1Article Summary: Building an economy: Government planning vs. entrepreneurial innovationYour nameInstitutionARTICLE SUM...
testimonials icon
ITS 631 Paper #2 (Chapters 5 - 8)                                  20 Points Possible           �...
testimonials icon
Please see attached for assignment...
testimonials icon
As the commander in chief, President Obama contributed to the capture of Osama by commanding avarious security organs in the country to investigate o...
Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
$65
Order a paper. Study better. Sleep tight. Calculate Price!
Created with Sketch.
Calculate Price
Approx. price
$65