Creating the dog class - Error in the interface using Firefox

class Dog {

public Dog() {


public static void main(String[] args) {



Exactly what I entered and the interpreter did’nt recognise it. Codeacademy, fix up your broken lessons please.

why all the harsh words…

Why don’t you try to add ‘public’ before you’re class declaration first?

Like this it’s package declared, the interpreter probably doesn’t work with packages… right now…