Class object of class means whenever class is compiled, JVM will create a Class Object of class.
Every class contains one Class Object of class and more number of Object of classes.
// It is an Example of Class Object of Class. Class class=A.class // This is an Example of Object of Class. A a1=new A(); A a2=new A();
Class object of a class contains Metadata and Object of a class contains data.
Object object = session.load(IToolsInfo.class,414); IToolsInfo itoolsinfo=(IToolsInfo).object;//This itoolsinfo object is Proxy object. int x=itoolsinfo.getId();// This is also proxy object. String s=itoolsinfo.getName();// This itoolsinfo object is real object.
Object object=session.get("IToolsInfo.class", 414);
While reading an Object from a Database and if it doesn’t exist in database, then the result will be null.