An Instance variable is a variable that is defined inside a class outside any method and without the 'static' modifier. These variables belong to each instance of the class' objects. These variables get initialized when an instance of the class is created.
A reference variable is used to access an instance of an object.
An object that belongs to a class is said to be an instance of that class. The variables that the object contains are called instance variables.
There is a special portion of memory called the heap where objects live. Instead of holding an object itself, a variable holds the information necessary to find the object in memory. This information is called a reference or pointer to the object. In effect, a reference to an object is the address of the memory location where the object is stored. When you use a variable of class type, the computer uses the reference in the variable to find the actual object.This variable is called the reference variable.
I think i have explained this concept to the best of my knowledge. thanks and regards -vodeyar.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com