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
What is the Data Normalization? Also define its goal. Data normalization is to sort out complex data within easy form. It uses to simplify the complex information to form it mo

Wechat and SugarCRM Project Description: Seeking the partner able to develop wechat program to integrate with SugarCRM. Wechat Official Account able to perform some functi

Develop Billing Software Project Description: Need software to print bills on A4 paper in the format provided. The details are shown below - 1. Serially generated Invoice

What is the importance of static variable? Static variables are class level variables where all objects of the class refer to the similar variable. If one object alters the val

List the keywords which are used in java 1.1? The list of keywords which are used in java 1.1 are given below: Keyword Purpose boole

RMI Object services: In addition to its remote object architecture, RMI gives some basic object services, which may be needed in a distributed application. 1.  Object namin

Message is a light weight message having only header and properties and no payload. Therefore if the If the receivers are to be notified about an event, and no data requires to be

Explain different way of using thread? The thread could be executed by using runnable interface or by inheriting from the Thread class. The former is more advantageous, 'cau

Using the above thread program, now create 20 threads in your program and run them. No need to wait for the keyboard in each thread, just print "Hello" and its thread id in each t

The significant methods of ActionForm are: validate () & reset ().