static { System.out.print("x "); }
This is the static initializer block. This will be called at the time of class loading. Thus first call.
{ System.out.print("y "); }
This is non static initializer block. Will be called the first thing once a object is created.
testclass() { System.out.print("c "); }
This is constructor. Will be executed in the process of object creation, after all initializer blocks are executed.
Lastly,
void go() { System.out.print("g "); }
Normal method call. Last thing to be executed.
For more details, please refer http://docs.oracle.com/javase/specs/jls/se7/html/jls-12.html