Create a new project in your ide named animalinfo

Assignment Help Computer Engineering
Reference no: EM13774586

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.

Reference no: EM13774586

Questions Cloud

What is the molarity of an aqueous solution : What is the molarity of an aqueous solution containing 21.7 g of glucose (C6H12O6) in 1.2 L of solution?
Write a paper on the tv series prisonbreak : Write a paper on the TV series "PrisonBreak".
Provide balanced chemical equations : Describe these processes, provide balanced chemical equations for each, and detail the energetics of both. Please cite all credible sources, and avoid the use of wiki sites. Your project should be 3-5 pages in length.
Discuss the accuracy and court admissibility : Explain how behavioral interviewing and interrogation techniques can help identify deception. Discuss the accuracy and court admissibility
Create a new project in your ide named animalinfo : Create a new project in your IDE named "AnimalInfo." Create a class called "AnimalInfo" as the main class for the program.
Write an essay on positive effects of reality tv on american : Write an essay on Positive Effects of Reality TV on American Citizens.
Methods of evaluation and control for biological agents : In addition, you have been asked to include information regarding the basic exposure mechanisms for biological agents, methods of evaluation and control for biological agents, and methods of sampling for biological agents.
Discuss the nature of occupational crime : Discuss the nature of occupational crime and determine its impact on both society and you personally. Provide examples to support your response
Describe potential hazardous material interactions : What government agency and statutes/regulation(s) govern for the labeling and registration of these hazardous household products?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd