Integer primitives are initialized to 0.
Floating-point primitives are initialized to 0.0.
Boolean primitives are initialized to false.
Reference variables are initialized to null.
publicclass MainClass{
staticint i;
publicstaticvoid main(String[] argv){
System.out.println(i);
}
}