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
Define locale.
What is the syntax and characteristics of a lambda expression?
Explain about member inner classes?
What is the difference between the final method and abstract method?
Define nashorn in java8.
What is a jit compiler?
What is the indent key?
Why collection is called framework in java?
What are different types of multitasking?
How will you serialize a singleton class without violating singleton pattern?
Is java type safe?
How will you initialize an Applet?
How do you check if a string is lexicographically in java?
How do you check if two strings are equal in java?
What is a functional interface?