I\'m looking at the code below and found something a bit strange:
public class Sequence {
Sequence() {
System.out.print(\"c \");
}
{
static {
System.out.print("x ");
}
Static blocks are only executed once when the class is loaded and initialized by the JRE.
And non-static block will be call every time your are creating a new instance and it will be call just before the Constructor.
As here you've created only 1 instance of Sequence so constructed has been called after non-static blocks and then the method which actually your goal.