JavaRanch Home    
This page:         last edited 18 April 2011         What's Changed?         Edit

Object Vs Instance   

An object is a specific form of an instance: the instance of a class.

There are other forms of instances - for example in UML, a link is an instance of an association. A process can be an instance of RUP (which is a process framework). Etc.

Typically, you refer to an instance as a concrete manifestation of a more abstract concept. I am right now not sure about this definition.

Object:-Instance of a class is known as object.or,Memory allocated at run time for all the nonstatic members of a class is object. Instance:-Memory allocation at run time is known as instance.It can be for anything . when we associate memory allocation for class type than it's object.

JavaRanchContact us — Copyright © 1998-2014 Paul Wheaton