
write a java program which shows how to declare and use STATIC member variable inside a java class.

The static variable are the class variables that can be used without any reference of class.
class Static {
static int a = 10;
static int b = 20;
}
class StaticMember {
public static void main(String args[]) {
System.out.println("a = " + Static.a);
System.out.println("b = " + Static.b);
}
}