why java does not contain pointers?

Answer Posted / diapk kumar sinha

Java has no need to contain pointers because, Because Java
is developed for fully system independent language, so in
the presence of pointer it may not perform like fully system
independent language. And the main thought is that removing
pointer is for security purpose and make it fully system
independent language to work at any platform.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a null check?

540


Can we have multiple classes in a single file?

517


Explain creating threads by extending thread class ?

580


Can a class be private?

520


What is the difference between length and size in java?

501






What’s the difference between the methods sleep() and wait()?

543


What are unchecked exceptions in java?

617


What is api data?

548


What is empty list in java?

629


Where is the singleton class used?

587


If an application has multiple classes in it, is it okay to have a main method in more than one class?

541


What are the three parts of a lambda expression?

538


What is the default value of byte datatype in java?

487


Should a main method be compulsorily declared in all java classes?

536


What is java virtual machine? Explain

571