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
Explain about core java?
How do I start learning java?
What is the difference between JDBC 1.0 and JDBC 2.0?
what are three ways in which a thread can enter the waiting state? : Java thread
Can you pass by reference in java?
Which number is denoted by leading 0x or 0x in java?
Explain java code for recursive solution's base case?
What language is an assembler written in?
What is singleton class example?
Can a final variable be manipulated in java?
Can we have any other return type than void for main method?
Is java 9 released?
What is collection api?
How do you find the absolute value?
Can we convert stringbuffer to string?