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


#1

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


#2

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


#3

I get the same thing. Must be some bug...


#4

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


#5

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


#6

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.


#7

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

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


#8

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


#9

Try

class dog
{

}

public static void main(String[] args)
{

}

Your Dog class bracket seem to encompass main


#10

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


#12

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


#13

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.


#14