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


Please Help Members By Posting Answers For Below Questions

Why singleton pattern is better than creating singleton class with static instance?

539


Explain the difference between a Thread and a Process.

568


What is multiple inheritance? Is it supported by java?

529


What is class forname used for?

542


How to sort an array in java without using sort method?

527






Is java hashset ordered?

577


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

1988


I don’t want my class to be inherited by any other class. What should I do?

580


What is collection class in java?

548


What are the procedures?

610


How to remove the trailing spaces from a string?

652


how would you implement a thread pool? : Java thread

510


What are constants and how to create constants in java?

558


What is entry set in java?

539


What is the difference between processes and threads?

538