package corejava;

public class StaticDemo {
	static int x = 3;
	static int y;

	static void display(int w) {
		System.out.println("w = " + w);
		System.out.println("x = " + x);
		System.out.println("y = " + y);
	}

	static {
		System.out.println("Inside Static block");
		y = x * 4;
	}

	public static void main(String args[]) {
		display(21);
	}
}

