When an object instance is created from a class, the class's constructor function is run to create it. This process of creating an object instance from a class is called instantiation — the object instance is instantiated from the class.I am confused with term instance.Does it mean creating a copy of a class?
Asked
Active
Viewed 128 times
-6
-
creating an instance of a class is creating an object whose type is that class. – Eran Nov 16 '17 at 10:01
-
see also https://docs.oracle.com/javase/tutorial/java/javaOO/objectcreation.html – Nov 16 '17 at 10:02
-
4A "class" can be seen as a blueprint, an instance is an object that is created using that blueprint. – f1sh Nov 16 '17 at 10:03