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

What java is used for?

829


What are access specifiers available in java?

787


Java Compiler is stored in JDK, JRE or JVM?

1239


Explain about static nested classes in java?

816


What is functional interface in java example?

762


What is the basic concepts of OOPS?

913


What is core java used for?

745


Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

827


Can anonymous class have constructor?

779


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

746


Define inheritance?

781


What is a method declaration?

727


Where is const variable stored?

699


Explain the difference between jvm and jre?

779


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

845