For example.....consider class A now we write the statement as A a=new A();.....here a is the object and writing that statement is creating a instance of class A. if it is static only one instance of it can be created....otherwise many instances of same class can be created.....
8th Jul 2016, 4:50 PM