why java does not contain pointers?
Answer Posted / bharathi
Java has no pointers but it has reference. A reference is an
abstract identifier for an object and it tags every object
with a name in the jvm so that programmer can refer to it.
And it is completely hidden from the programmer in any case.
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
How do singleton patterns work?
What is the purpose of a parameter?
What are the various access specifiers in java?
How does a for loop work?
What is printwriter in java?
Is break statement can be used as labels in java?
What are the advantages of passing this into a method instead of the current class object itself?
What is a loop java?
Explain the difference between runnable and callable interface in java?
If we don’t want some of the fields not to serialize how to do that?
How we can execute any code even before main method?
What is return type in java?
Is it possible to override private or static method in java?
What are the difference between composition and inheritance in java?
What is the difference between checked exception and unchecked exception?