package com.corejava;

public class ObjectInStaticBlockDemo {

	static {
		ObjectInStaticBlockDemo obj = new ObjectInStaticBlockDemo();
		System.out.println(obj);
	}
	
	public static void main(String[] args) {
		
	}
}

Create obj in static block
Create obj in static block