Question: What is a reference to an object?

  1. It is the address of variable only -- not the method of an object.
  2. It is a shallow pointer that contains address of an object.
  3. It is the physical address of an object.
  4. It is the address where the variables and methods of an object are stored.

Answer: The correct answer of the above question is Option D:It is the address where the variables and methods of an object are stored.