what is the difference between a java object reference and
c++ pointer?
Answer Posted / ranabir chakraborty
both are the same concept the java object reference and c++
pointer.the object reference stored in the memory heap and
object are stored in stack.
Pointer are locate the address of the variables and object
reference locate the value of the variables.
| Is This Answer Correct ? | 11 Yes | 15 No |
Post New Answer View All Answers
What are the characteristics of Final,Finally and Finalize keywords.
Explain the difference between an Interface and an Abstract class?
Why do we need variables?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
How to make a write-only class in java?
What are keywords in programming?
What is java objectoutputstream?
What is the meaning of variables in research?
What is a classloader in java?
How to call one constructor from the other constructor ?
Explain about the security aspect of java?
List some important characteristics on jre
What is difference between final and immutable?
Which graphs are functions?
When does a class need a virtual destructor?