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
Can we have two main methods in a java class?
How to convert string to char and vice versa?
What about instanceof operator in java?
What is a default constructor and also define copy contrucyor?
Is zero a positive integer?
What is a cup of java?
What is finalize() function in java?
What are the core java topics?
What is keyword auto for?
What are the supported platforms by java programming language?
What is a numeric format?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What is javac_g?
What is the range of the short type?
what is the constructor and how many types of constructors are used in java?