Creates a new set of animals

Assignment Help JAVA Programming
Reference no: EM131136875

OOP Project Description

Requirements:

You are to design and build a zoo organizer. The zoo organizer should keep track of a set of animals. The zoo organizer should be able to keep track of different sets of animals. The organizer only needs one set of animals open at a time. It should have the capabilities to save the current set of animals to a file and also open a set from a file.

There are 3 types of animals in the zoo. There are mammals, reptiles and birds. All animals have a name, a birthdate, an age and a species. The following chart shows the species that the organizer needs to track. It only needs to track these species.

Type

Species

Mammal

Goat

Lion

Pig

Reptile

Turtle

Iguana

Bird

Eagle

Hawk

Every animal also has a life expectancy, which is how many years we think that animal should live.  The following rules show how to determine the life expectancy.

1. All of the mammal's life expectancy is 15 - age.  So, if a mammal is 5 (15-5 = 10), the life expectancy is 10 years.

2. Iguana's life expectancy is (1 / age) * 10.  So if an iguana is 5 (1/5 * 10) = 2, the life expectancy is 2 years.

3. Turtles seem to live very long.  Their life expectancy is 110 - age.  So if a Turtle is 5, (110 - 5 - 105), the life expectancy is 105 years.

4. We don't know much about the life expectancy of birds.  Always show their life expectancy as 5 years.

When a user creates a new set of animals, they need to be able to add an animal to the set.  They should also be able to update and delete animals in the set.  The organizer should only show one set of animals at a time.

816_UML.png

Reference no: EM131136875

Questions Cloud

Discuss the role of job satisfaction : Discuss the role of job satisfaction and provide examples of strategies a manager can use to motivate an employee. if you were a Human Resource director, how would you coach a new manager to complete performance assessments with their employees? How ..
Planning to implement a company-wide policy with respect : The organization is planning to implement a company-wide policy with respect to bereavement leave that provides the same benefits to all employees, regardless of their province of employment and length of employment. Prepare a memo for the Human ..
A floral supply company with employees : Identify four specific items relating to bereavement leave that will have to be addressed in the policy to ensure compliance with the employment/labour standards in each jurisdiction.
Company expect the cost to increase each year : A small sheet metal company has estimated that its fuel costs for the next 4 years will have a present worth of $70000. The company expects the cost next year to be $15000, after which time the cost will increase according to a uniform gradient. At a..
Creates a new set of animals : When a user creates a new set of animals, they need to be able to add an animal to the set.  They should also be able to update and delete animals in the set.  The organizer should only show one set of animals at a time
Direct materials price and quantity variances : Natural Company produces organic twig brooms. Each broom calls for 1 pound of wood; the wood should cost $0.25 per pound. In July, the division manufactured and sold 500,000 brooms. During the month, it used 495,000 pounds of wood, and the total c..
Perform brief SWOT analysis on the firm : Perform a brief SWOT analysis on the firm, product, or brand of your choosing. Your SWOT should consist of two factors each for Strengths, Weaknesses, Opportunities, and Threats. Provide a brief explanation of why you believe each of your factors is ..
Company with employees in the following jurisdictions : The organization is planning to implement a company-wide policy with respect to bereavement leave that provides the same benefits to all employees, regardless of their province of employment or their length of employment. As Payroll Supervisor, p..
Identify minimum of two additional network devices : What are some of the Security Basics when it comes to workstations and ways to secure Server environments - Identify a minimum of two additional Network Devices and ways to secure the devices?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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