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
Give an Examples of java.lang.Math Methods Here is an instance program in which exercises most of the routines in java.lang.Math. If your high school math is a little rusty, do

Task I have an Android mobile app project that I''m trying to get profiles to transfer by connecting to a server at 23.23.175.213 port 1337. I have to send a json string to the se

Hey, i have a project on java can you help me

State in brief about the java Java is a object-oriented, simple, distributed, robust, interpreted, architecture-neutral, secure, portable, multi-threaded, high- performance and

Differentiation between a Vector and an array . Explain in Brief about the pros and cons of both?

how to create batch files of java program

Write HTML and JavaScript code which displays a textbox and button on a web page? While user enters text in the text box and clicks the button it displays in that text in the m

1.   final - it is a constant declaration. 2.   finally - handles exception. The finally block is optional and gives a mechanism to clean up regardless of what occurs within

We want an E Commerce site Project Description: We want an E Commerce site like fifacointrader.. You must have experience with that kind of work We will award the proje

Explain Animate gifs? We can save 16 gif images of the previous instance in a single file in the form of an animated gif, and then used it in a regular tag to display a movi