java., JAVA Programming

the textbok is Introduction to Java™ Programming, Brief Version, Eighth Edition
Week 8 Exercises

Chapter 8 Programming Exercises from Pages 295 - 299. Do Exercise Problems 2, 9, 11, and Supplemental_8.

For P_Supplemental, create an animal object in which the type starts with the first letter of your first or last name like (Bill Thomas could use bear or tiger). Create 5 attributes of this object including birthdate and weight; be creative, Encapsulate the attributes, include a getAge() method that returns the age in years based upon the birthdate and current date. Include a getmetricWeight that converts pounds into kilograms and returns kilograms. For fun you could also convert pounds into the English unit "stones" and have getStones().

Create a test class that contains the main() method. This test class will be called P_Supplemental_8. It will create two instances of the animal class object using the constructor to assign initial values and use the encapsulation get... statements to return the information from the class as output for each instance.


Points Value:
8.2 - 10 points
8.9 - 20 points
8.11 - 30 points
8 P_Supplemental - 35 pts
Headings/format - 5 points

Proper headings and formatting on ALL of the submissions will give you the additional 5 points in Canvas
Posted Date: 10/18/2012 7:44:23 PM | Location : United States







Related Discussions:- java., Assignment Help, Ask Question on java., Get Answer, Expert's Help, java. Discussions

Write discussion on java.
Your posts are moderated
Related Questions
Explain what is Object in JAVA language? They are foundation of object oriented language. They are data structure holds data fields and properties and methods

Question A What are the difference between an interface and an abstract class? Question B Describe Exception Handling in JAVA Question C Describe the following with resp

I want someone to fix some bugs in a java app Project Description: I have a small app in java, but it has some issues, the app is running. But we need to make it work more st

The act of making associations between application components (beans) within the Spring container is reffered to as Bean wiring.

The JMS provider handles security of the messages, data conversion and the client triggering. The JMS provider verifies the level of encryption and the security level of the messag

what will be the logic? in C program #include float start_point, /* GLOBAL VARIABLES */ end_point, total_area; int numtraps; m

Can I please get your help in my assignment and a quote if possible

Write a JSP to display a table that contains factorials for the numbers from 0 to 10,

EJBs are distributed elements, which need the RMI framework for object distribution. An EJB application server gives more services like object pooling, transaction management, data

This assignment has two main objectives. It aims to establish a basic familiarity with the Java API (Java Thread class) for creating multithreaded Java application, and the Java ne