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

  Social media policies for sharing information

What challenges do corporations face with regards to social media? Do companies have social media policies for sharing information? Provide an example.

  Drivers for digital dashboards found in automobiles

Believe or not digital dashboards can be found in automobiles. In fact, Mossberg (2010) wrote article titled, "Ford Drives Digital Dashboards to Next Level. Are drivers ready for this kind of technology?

  How do you make an awk script executable within a file

Write a bash script that does the following: prints the contents of /etc/hosts and prints the contents of the file system table.

  What are the three types of goals

1. What are the three types of goals, and what are different kinds of plans? 2. What are some potential strengths, weaknesses, opportunities and threats a business should consider in their analysis? What tools can help me describe where the organi..

  Describe the conceptual model employed in the design

Compare and contrast the metaphors used in the design of applications that run on each type of monitor. Use Microsoft Visio, Microsoft PowerPoint, or any other modeling tool to create.

  How many conventional buses are needed to equal or exceed

Consider only read requests, ignore memory conflicts, and assume that all memory modules are connected to all buses in the multiple-bus case. Does your answer increase or decrease if memory access time increases?

  Evaluate the dc values for the voltage and current

Evaluate the DC values for the voltage and current.

  Linear programming model to be formulated and used

What are the assumptions for a linear programming model to be formulated and used?

  Specific situations where dividing the ssn is useful

This exercise asks you to think about specific situations where dividing the SSN is useful.

  Assignment on mobile app work breakdown structure

Assignment On Mobile App (Work Breakdown Structure), This assignment contains two (2) deliverables: a summary document to be delivered in a word processor document format and a Work Breakdown Structure (WBS) to be delivered in a project file.

  Comprehensive financial analysis and proposal

Throughout this course you will prepare a comprehensive financial analysis and proposal (excluding tables, figures, and addenda) that will demonstrate your understanding of key financial concepts, strategies and practices.

  A paper three to four pages covers data warehouse

Subject background: Data Modeling. Need a paper three to four pages covers data warehouse - a subject-oriented, integrate, time-variant, and nonvolatile set of data that supports decision making. Within the paper an explanation of subject, int..

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