Build a java application that creates instances

Assignment Help JAVA Programming
Reference no: EM132278211

Java Zoo, and Transfunctifier Apps

1) Java Zoo
Build a Java application that creates instances of at least 12 different concrete classes of Animal in an ArrayList
• use at least one abstract class
• use at least one interface (with at least three methods) to identify behaviors of a specific subclass of your zoo-animals (e.g. pets, reptiles, mammals, aquatic, etc.)

Once the zoo ArrayList is populated, traverse it.
For each object:
• print index and animal-type
• output result(s) of polymorphic methods
• output result(s) of interface methods (if any!)

Write a short (2-3 page) report discussing and explaining your design, choices
• Justify your Abstract class choice, your Interface choice -- why did these structures in particular need to be abstract, or interface?
• Provide a general Hierarchy chart for your classes
• Provide a UML diagram for your abstract class, interface, one concrete class
• Provide code (in Appendix?) for Abstract class, Interface, and one concrete animal class -- no, this doesn't count in pg-count
• Also provide listing of program output (2-column format)

2) Transfunctifyer App
Need a transfunctification object capable of outputting not only sine and cosine functions, but also a third non-linear fct of your choice
• Write me a class (MechTurk) that generates a formatted table of the values of the three functions over the range [-2π ... +2π]
num fct1 fct2 fct3
-6.28 0 1.0 -1234.65
etc.
• Columns should not be hard-coded. That is, you should be able to dynamically change, at need, which function is rendered in which column
• Like your zoo app, write a report explaining your design, how you achieved dynamic functification, how functions are assigned to output columns
• Provide relevant UML diagrams, class snippets, and sample program outputs/screen-captures

Verified Expert

The solution is implemented in java using netbeans IDE which has two programs are java Zoo and Transfunctifyer App. The java zoo program created instances of at least 12 different concrete classes of Animal in an ArrayList and used an abstract class and an interface with three methods to identify behaviors of a specific subclass of zoo-animals. The second program is Transfunctifyer App object capable of outputting for sine and cosine functions and non-linear fct to generates a formatted table of the values of the three functions over the range [-2p ... +2p]. Both programs has UML diagram with explanation.

Reference no: EM132278211

Questions Cloud

Create presentation that will be used as part of story pitch : Tasks: Using Microsoft PowerPoint, create a presentation that will be used as part of a story pitch. You can use the record feature in powerPoint to develop.
What is the beta of this companys stock : What is the beta of this company's stock? Based on the magnitude of the beta, do you think it is low risk, high risk, or somewhere in between?
Discuss the societal aspects of the indonesian gamelan : Discuss the societal aspects of the Indonesian Gamelan. Compare the use of drumming in African, Latin American and Native North American rituals.
Which one do you think is the best strategy and why : Discuss the different strategies for competing globally and their pros and cons. Which one do you think is the best strategy and why?
Build a java application that creates instances : CS 3360 - Design and Implementation of Programming Languages - The University of Texas at El Paso - Build a Java application that creates instances of at least
Research paper on marketing strategies in tourism industry : Write a research paper about marketing strategies in the tourism industry. More specifically having to do with the social media
The different modes that firms use to enter foreign markets : Compare and contrast the advantages and disadvantages of the different modes that firms use to enter foreign markets.
Development of realistic and meaningful security requirement : In your own words, explain how threat modeling a system can help with development of realistic and meaningful security requirements. The response must be typed.
Discuss the various types of counter-trade : Discuss the various types of counter-trade. Provide a scenario when counter-trade measures are used.

Reviews

len2278211

4/9/2019 3:35:51 AM

I expect the writeup you turn in for this assignment will be 3-5 pages in length overall. Build me a Java application that creates instances of at least 12 different concrete classes of Animal in an ArrayList I need a transfunctification object capable of outputting not only sine and cosine functions, but also a third non-linear fct of your choice

Write a Review

JAVA Programming Questions & Answers

  Write a program to play the rock-paper-scissors game

Game Program Write a program to play the rock-paper-scissors game. Two users take turns entering R, P, or S. The program then announces the winner, based on the rule that paper covers rock, rock breaks scissors, scissors cut paper.

  Why the java is called platform independent

Why the Java is called platform independent? Discuss.

  Part - a1nbsp to compile and run a java source file

part - a1.nbsp to compile and run a java source file hello.java that contains a main method which of the following are

  Alter the prototype form page by javascript function

Alter the prototype form page so that when JavaScript function has verified that all the required fields have been filled, cookie is added to user's computer.

  Extend the vending machine

Your task for this assignment is to extend the "Vending Machine" you wrote for assignment seven to add the ability to hold the snacks

  Design an er diagram for the dental clinic database

Design an ER diagram for the following Dental Clinic database. Your diagram should have all the needed details. You may make any reasonable assumptions

  Program that reads a number in inches converts it to meter

CMP 330 Data Structures & Algorithm Analysis - Write a Java program to convert temperature from Fahrenheit to Celsius degree

  Implement a shopping cart class with user interface

project will be to implement a shopping cart class with user interface (UI) that contains main() in Net Beans. The UI class will be used to perform user input/output and to invoke the appropriate methods of shopping cart class. When your program star..

  Implementing quick sort - merge sort and insertion sort

COM S 228 - implementing three sorts-QUICKSORT, MERGESORT, and INSERTIONSORT-and BINARY- SEARCH, as well as a framework for testing and timing them

  How many employee objects exist in the heap

Assume you have a class called Employee whose constructor takes two arguments: the employee's name and id number

  Calculate the average number of miles you ran

What is your list length? Calculate the sum of the total miles you spent running over the 10 weeks. Calculate the average number of miles you ran. Write a search to determine whether 4 is on your list

  Write a complete java program called calculateaverage

Write a complete Java program called lCalculatell?uw'erage according to the following guidelines. The program prompts the user for ?ve to ten numbers oil on one

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