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
How do you override a method?
What are the four versions of java?
Why does java not allow multiple public classes in a java file ?
Explain wrapper classes in java?
What class of exceptions are generated by the java run-time system?
Is math an abstract class in java?
What is an immutable object?
Explain about static nested classes in java?
What is multithreading in java?
Why chararray() is preferred over string to store the password?
Can we change the value of static variable?
What is string length in java?
Can string be considered as a keyword?
What is a java lambda expression?
What is multiple inheritance? Is it supported by java?