A class is loaded into the JVM by a class loader. But for wrapper classes like Integers, when i use the code given below
Integer i = new Integer(10);
System.out.println("Class loader for Integer "+i.getClass().getClassLoader());
i am getting null. By whom is the Integer class loaded ? What is the mechanism going on in the background of class loading ? Expecting answers...
Cheers,<br />Reghu Ram T<br /> <br />SCJP 1.4 - 98 %, SCBCD 1.3 - 94 %, SCMAD 1.0 - 92 %