@@ -0,0 +1,231 @@
+package com.corejava;%0D%0A%0D%0Apublic class ObjectInStaticBlockDemo %7B%0D%0A%0D%0A%09static %7B%0D%0A%09%09ObjectInStaticBlockDemo obj = new ObjectInStaticBlockDemo();%0D%0A%09%09System.out.println(obj);%0D%0A%09%7D%0D%0A%09%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A%09%09%0D%0A%09%7D%0D%0A%7D%0D%0A

Create obj in static block