@@ -0,0 +1,496 @@
+class Test%0A%7B%0A    static int a;%0A     %0A    static%0A    %7B%0A        a = 4;%0A        System.out.println (%22inside static block%5Cn%22);%0A        System.out.println (%22a = %22 + a);%0A    %7D%0A     %0A    Test()%0A    %7B%0A        System.out.println (%22%5Cninside constructor%5Cn%22);%0A        a = 10;%0A    %7D%0A     %0A    public static void func()%0A    %7B%0A        a = a + 1;%0A        System.out.println (%22a = %22 + a);%0A    %7D%0A     %0A    public static void main(String%5B%5D args)%0A    %7B%0A %0A        Test obj = new Test();%0A        obj.func();%0A %0A    %7D%0A%7D%0A

Create coolprog.java