what is the difference between a java object reference and
c++ pointer?
Answer Posted / puneet
The above answer is wrong; Objects are stored on heap;
Refrence contains the way to reach out to the object.
pointers point to the location where a primitive type is
stored.
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What is class variable java?
Where is java located?
Is boolean a data type in java?
Does java isempty check for null?
How transient variable is different from volatile variable?
Which keyword specify that a variable is effectively final ?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What do you understand by private, protected and public?
Can we convert stringbuilder to string in java?
What is the main use of generics in java?
What is final method?
Which class should you use to obtain design information about an object in java programming?
What is lazy initialization in java?
What is java basic concept?
What does mean in regex?