what is the difference between a java object reference and
c++ pointer?
Answer Posted / chandra prakash sahu
Both have same purpose,becoz both point some memory location
,they hold the address of that location.Java reference
variable point the memory location of an object whereas C++
ponter point the memory location of any primitive type of
data type.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is integer size in java?
What is a superclass?
What is getkey () in java?
What is bytecode verifier?
Explain the difference between the public, private, final, protected, and default modifiers?
Is null a string in java?
can I implement my own start() method? : Java thread
Can we catch more than one exception in single catch block?
How do you trim a space in java?
What does the string method compareto () do?
How do you write methodology?
What are the procedures?
What is a null point?
List two java ide’s?
Can we change the value of static variable?