Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

im stiil having alot of errors could you do the code over ? so i could have a better visual? using these steps JAVA Were

im stiil having alot of errors could you do the code over ? so i could have a better visual? using these steps
JAVA
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Were a Pet class that keeps track of the name, age, weight, type of animal, and breed for records at an animat clinic. Ruan Ontine (1) I summer tvey TesterClass.java Pet class (caeplete: coments) gaithor esince (1) ctass Pet 1 If keep track of the mane, age, weight, type of antwat, and brewd of the pet private string aane; orivate int age: private double weight: private string type: private String breed; II Write 2 cemitructors, accessor (ger) nethods, and a tostring method, Use pobd comenting. String nase = thr 1 int age = it String type = wi', Strine hireed =2, symbols mothod setheight(int) location: variable p of type Pet 15 ereors 6. Make sure you use good commenting! Points: 3/6 Create a Pet class that keeps track of the name, age, weight, type of animal, and breed for records at an animal clinic. 5) D. Run Online (1) summer hoy TesterClass.java 6. Make sure you use good commenting? Points 3 No Create a Pet class that keeps track of the name, ago, weight, type of animat, and oreed for records at an animul clinic. Fun Online (1) El summer Ivey TesterClass java return vesght: pwotle sering peatype(h). return type: public string getbreedisi return brecd: pubtic claas testerclass Ul wile nethod for testing gublic static void atnistringll aros) If. Crebs. I. Pet lajesti and thit all your nethozt p.setilieedi-Gernan shepherd")! pusetrypeofanizat("boeestic soy"): p. setweighti251; System, eot-arietin(p.tastring\{ 3 . Systen-sut.printin("gieight of att " s.getweight ()la sinsin Eymbol1. nethod setweight ( int) location: variable p of type pet 15 errorg TesterClass:java Chock Answer Reset to Template Recent Submistions An foints

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

What are the different techniques used in decision making?

Answered: 1 week ago

Question

1. Discuss the four components of language.

Answered: 1 week ago

Question

f. What stereotypes were reinforced in the commercials?

Answered: 1 week ago