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 is e in java?
Why parameters should be passed by reference?
What is square root in java?
How to stop a thread in java? Explain about sleep () method in a thread?
Can finally block be used without a catch?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
Outline the major features of java.
What languages are pass by reference?
What is another word for methodology?
What is enhanced loop in java?
How do you sort an array in java?
Is list ordered in java?
enlist some features of jdk.
What is formatted output in java?
What is singleton class in ruby?