Hi,
Your statement (System.out.println) must be inside a method.
You just can declare and initialize class variable and instance variable at that place.
You can learn about that in
the Java Language Specification
Correct me if i am wrong...
thanks
daniel