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 the difference between serial and throughput garbage collector?
What is default exception handling in java?
What is loop in java?
What is meant by collection in java?
why would you use a synchronized block vs. Synchronized method? : Java thread
What are the 8 data types in java?
What kind of variables can a class consist?
How to overcome the exception object reference not set to an instance of object?
What do you understand by java?
What is the equal sign?
What does java se mean?
In the below example, how many string objects are created?
Is main a function?
what is the constructor and how many types of constructors are used in java?
Is zero a positive integer?