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
I want ProSport Savings Plans Project Description: To prepare an application on iPhone, Mac, iPad and Android, which does the subsequent:- Provides a calculation of the am


Explain Labeled Loops in details ? Generally inside nested loops break and continue exit the innermost enclosing loop. For instance consider the subsequent loops. for (int i=1

Question: a) Give a detailed description of your understanding concerning "Managing User Sessions and Open files". b) What is "Overriding Inheritance" and how can it be do

Give an example of Class or static Members? Below is a Car class along with such a speedLimit field and getSpeedLimit() method. public class Car { private String licensePla


Project Description: I require some android developers in order to outsource projects. I am looking for good price and good quality. Skills required: Java, Android

Struts is a framework with set of co operating servlets, classes and JSP tags that create a reusable MVC 2 design.     1. Client (Browser) : A request from the cli

Describe Inner Classes in java? An inner class is a class whose body is described inside another class, referred to as the top-level class. For instance: public class Queue {

Task 1 Create a new project in Eclipse called Assignment 1. Within this project create a package called task01. 1/ Download the class Date (you must use this class - no