Create a dog runner class which uses a dog class


Assignemnt: Java Programming

Create a dog runner class which uses a Dog class which you create.

Dog class must:

1. Have dog characteristics of Name, Color, Weight

2. Be able to construct a default dog of name "Fido", color brown and weight 10 (pounds).

2.a. Construct a dog with only name (default brown and 10 pounds).

2.b. Construct a dog with all 3 parameters.

3. Dog must be able to sit (respose is "arrrff").

4. Must be able to examine the 3 characteristics ('getters')

5. Must be able to change the 3 dog characteristics ('setters')

6. Demonstrate all the above from the dog runner (or 'dog tester') class.

7. Create a subclass "poodle" and add dog breed in the constructor(s) using super.

8. Use toStrings in Dog & Poodle class.

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also include a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also Include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Create a dog runner class which uses a dog class
Reference No:- TGS02957396

Now Priced at $55 (50% Discount)

Recommended (94%)

Rated (4.6/5)