Write a java program that allows the user

Assignment Help Basic Computer Science
Reference no: EM131339484

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: EM131339484

Questions Cloud

Techniques used in a traditional workplace : How are Virtual Teams performance booster different from the techniques used in a traditional workplace? As a Virtual Leaders would you respond to the three Accountability questions?
What role company culture plays in executing managerial task : Discuss what is involved in performing the eight key managerial tasks that shape the process of implementing and executing strategy. Explain what role a company's culture plays in executing these managerial tasks.
Track a companys social media content : Create an inventory of the company's existing social media platforms including name, type, and general description for each platform. Next, determine each platform's main purpose and analyze the main role and influence that each platform has on th..
Security experts agree about the value of biometrics : 1. Not all security experts agree about the value of biometrics. What are the advantages and disadvantages of biometrics?
Write a java program that allows the user : 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.
State the domain and range of the relation : State whether the graph represents a function. Explain.
Identify cybersecurity vulnerabilities that could introduced : Identify cybersecurity vulnerabilities that could be introduced by the new technology that might not be mitigated by technological configuration management.
Discuss about the social media competitive analysis : Read the article titled "30 Tips on Using Social Media for Competitive Analysis", located here. Next, select the top-three (3) tips that you would use to conduct social media competitive analysis for a small company of your choice. Explain your ra..
Research design flaws in cellular networks : Use the Internet to research design flaws in cellular networks that affect performance or security and find alternative designs that can improve capabilities.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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