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
Does constructor return any value?
What does a method signature consist of?
Explain the scope or life time of class variables or static variables?
How hashmap increases its size in java?
How dead lock situation occurs in java and how you can identify it?
How will you initialize an Applet?
What is the main advantage of passing argument by reference?
What is a lambda expression ? What's its use ?
What is hashmap and map?
When is the finalize() called? What is the purpose of finalization?
What is contractor means and methods?
What is token in java?
Which method must be implemented by all threads?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is lambda programming?