The project: Designing and implementing a class called dog that contains instance datat that represents the dogs name and age. i have to define the dog constructor to accept and initialize instance data. include getter and setter methods for the name and age. include a metod to compute and return the age of the dog in person years. include a tostring method that returns a oneline description of the dog. crate a driver class call kennel, whose main method instantiates and updates several dog objects.

The arg to the println() method is a String. Separate Strings can be joined together to make one String by using the + operator.
The compiler wants a ) after the String it has found after println(
Join the two Strings to make one by putting a + between them

March 3rd, 2014, 08:16 PM

hinatahyuuga1133

Re: Homework help please

Quote:

Originally Posted by Norm

The arg to the println() method is a String. Separate Strings can be joined together to make one String by using the + operator.
The compiler wants a ) after the String it has found after println(
Join the two Strings to make one by putting a + between them