Show the code that attempts to use the setPerson() method and results in the error. setPerson() requires a Person object as a parameter.
Type: Posts; User: GregBrannon
Show the code that attempts to use the setPerson() method and results in the error. setPerson() requires a Person object as a parameter.
How are the dog's owners (or owner) set? Or are they . . . . ?
You'll have to show variations in your code and the errors received, because there are just too many possible ways you could be...
Then george must be set as the owner using Dog.setPerson(), and to ensure that the owner is set correctly, the results of Dog.getPerson() will be compared to the Person object that was set as the...
Please use punctuation. Your unpunctuated stream of consciousness is hard to understand.
It's important for you and us to know what "it works" means before proper tests can be written. Sometimes...