For exercise two when you create a dog class even when I get the code it says it is wrong

when you create a dog class even when I get the code it says it is wrong.

Could you post both your code and the error you are receiving? It’s hard to help without either of those!

1 Like

I get the same thing. Must be some bug…

Hi everyone, I get the same error for this exercise; take a look

A post was split to a new topic: 8. Got this

class Dog {




	public static void main(String[] args) {

	}

}

“aw snap, there’s an error in the exercise” I also tried to fetch the correct code. It was exactly the same as I have here. and still won’t pass.

Same here! Even when I retrieve the code and run, it throws the error.

And now I can’t move past this exercise. :frowning:

Same here !!! Please resolve this soon, CodeAcademy.

Try

class dog
{

}

public static void main(String args)
{

}

Your Dog class bracket seem to encompass main

2 posts were split to a new topic: It didn’t work

Note that I have finished the whole Java course so there are extra methods in there but that’s how it should look like.

1 Like

The “Ah Snap” error should be fixed now. If you had a different error, please start a new topic. Include a screen shot of your whole browser.