ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What is an Instance in java ?

Instance refers to the copy of the object at a particular time whereas object refers to the memory address of the class.
The new operator instantiates a class by allocating memory for a new object and returning a reference to that memory.
Note: The phrase "instantiating a class" means the same thing as "creating an object." When you create an object, you are creating an "instance" of a class, therefore "instantiating" a class.
Related Posts Plugin for WordPress, Blogger...
Flag Counter