What's wrong?


#1

What's wrong???


Not sure why I keep receiving this parsing error
#2

Probably the space between Dog and ()
(Java doesn't care, but it fails to trigger the checkpoint)


#3

edit: moved the constructor above the main and it worked fine. ><

I am getting the exact same error. I think my code is just fine for the exercise but it keeps rejecting it.

class Dog {
public static void main(String[] args) {

}

public Dog() {

}
}


#4

You're right.


#5

Try this, you forgot some statement only:

class Dog {
//class instructor for Dog Class
public Dog() {;}
public static void main(String[] args){}
}

and the light 'd be green