Help w/ Java Program that Allows the User to Select an Animal from a Menu...

May 11th, 2015
Sigchi4life
Category:
Programming
Price: $25 USD

Question description

Help :(  I am completely lost. Your help would be greatly appreciated!


I have pasted Assignment Info below and attached.


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.

Please submit your assignment.

Grading Criteria

Project and Main Class Creation

  • Create a new project in your IDE named "AnimalInfo."
  • Create a class called "AnimalInfo" as the main class for the program.
20%

Inherited Classes

  • 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.
30%

Main Menu and Functionality

  • 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.
  • When the user selects an animal, use the displayInfo() method of the appropriate class to display information about the selected animal.
30%

Source Code Mechanics

  • Code is well documented with comments demonstrating knowledge of each statement.
  • Code uses appropriate style and naming conventions.
  • Code is free of errors.
20%


Warmest Regards,

S

**Attachment Below:

Unit 3 IP

Tutor Answer

(Top Tutor) Daniel C.
(997)
School: UIUC
PREMIUM TUTOR

Studypool has helped 1,244,100 students

8 Reviews


Summary
Quality
Communication
On Time
Value
darnay
Dec 3rd, 2016
" The best tutor out there!!!! "
dontuwannaknow
Nov 24th, 2016
" Excellent work as always thanks so much "
SjSurvivor143
Nov 11th, 2016
" Thanks for the help. "
ddg82
Nov 2nd, 2016
" Thanks, good work "
tinytim47
Oct 19th, 2016
" Wow this is really good.... didn't expect it. Sweet!!!! "
jestin7
Oct 10th, 2016
" This tutor is great! "
mixedballz
Oct 6th, 2016
" excellent work as always thanks for the help "
lilmoe415
Sep 27th, 2016
" Thank you, Thank you, for top quality work, this is your guy!! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1827 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors