what is the difference between a java object reference and
c++ pointer?
Answer Posted / ranabir chakraborty
both are the same concept the java object reference and c++
pointer.the object reference stored in the memory heap and
object are stored in stack.
Pointer are locate the address of the variables and object
reference locate the value of the variables.
Is This Answer Correct ? | 11 Yes | 15 No |
Post New Answer View All Answers
What do bitwise operators do?
worst case complexities of Quick sort and Merge sort.
How do you create immutable object in java?
Write a program to search a number in the given list of numbers.
How can constructor chaining be done by using the super keyword?
What is the advantage of OOP in java?
What is the difference between path and classpath variables?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
Why vector class is used?
How to change value in arraylist java?
How does regex work?
What is ascii code?
What is an object’s lock and which object’s have locks?
What is difference between array and arraylist in java?
What is arrays sort in java?