I've heard that,
java object initializer do 3 things in the following order.
1. Initialize non static attributes.
2. Run non static blocks.
3. Run the constructor.
But compiler gives error in following code..
But there is no error in the following code.
What is the reason..?