Is sound supposed to be a method? You're missing the () if it is.
Otherwise, Java thinks its a property called sound which needs to be semi-colon terminated. Java will accept a class level static block such as this:
PHP Code:
public String sound = "";
{
System.out.println("hello");
}
Although I doubt that is the intent here.