4/13 won't let me continue

It won’t let me continue and there’s no error messages but the problem says it’s wrong. Please help.

First off, this is in Java not Javascript. Secondly, you forgot several key things to make this could work. First, something needs to go inside the public Dog(). Finally, age needs to equal something after that. So:

public Dog(what) {

age = what;

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.