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
Can we sort hashmap in java?
What is meant by null and void?
What is the meaning of variable in research?
Can you explain the private protected field modifier?
What is core java called?
Can a string be null?
Explain the difference between comparator and comparable in java?
What are the three parts of a lambda expression?
What are the types of relation?
What is the difference between abstraction and encapsulation?
explain the concept of virtual method invocation in polymorphism in detail?
What are the important features of Java 9 release?
Explain the importance of finally block in java?
How do you use compareto?
Whats the difference between notify() and notifyall()?