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
Tell me the latest versions in java related areas?
What are some alternatives to inheritance?
What is preparedstatement in java?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
What is a dynamic array in java?
What is java jit compilers?
What is a list in java?
Is string serializable in java?
What is the function of log?
What is meant by stack and queue?
How do you add an element to a hashset in java?
What is java english?
How do you escape a string?
How listener identify that the event came from a particular object?
What are structs in java?