java., JAVA Programming

Assignment Help:
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

Related Discussions:- java.

Describe tostring() methods, Describe toString() Methods ? Print method...

Describe toString() Methods ? Print methods are general in some languages, but most Java programs operate differently. You can use System.out.println() to print any object. The

Define the type casting?, Type casting defines treating a variable of one t...

Type casting defines treating a variable of one type as though it is another type. When up casting primitives as given below from left to right, automatic conversion happens. Bu

How marketing strategies are changed along with the progress, How marketing...

How marketing strategies are changed along with the progress in computing? How latest marketing strategies are implemented? Marketing Strategy Changes along with the latest req

What is bit-mapped or raster graphics, What is Bit-Mapped or Raster Graphic...

What is Bit-Mapped or Raster Graphics? Similar as object-oriented graphics, refers to software and hardware which use geometrical formulas to represent images. The other techni

Loosely coupled soa, Loosely coupled SOA SOA gives in loosely coupled ...

Loosely coupled SOA SOA gives in loosely coupled application elements, in which message is not necessarily tied to a particular database. Loose coupling actives enterprises to

Beam, program for hinged beam

program for hinged beam

Java program that reads in a file of products, Write a Java program called ...

Write a Java program called SalesInfoMiner that reads in a file of products, stored in text format (2 lines per entry). The program must then read in information about past sales t

Elaborate vector or object oriented graphics, Elaborate Vector or Object or...

Elaborate Vector or Object oriented graphics along with at least one example. Object Oriented Graphics are the graphics that are commonly oriented towards the objects and have

Write Your Message!

Captcha
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