Home > DeveloperSection > Interviews > Why Java does not support pointers?

Posted on    February-23-2015 3:02 AM

 Java OOPS 
 2 Answer(s)
  664  View(s)
Rate this:

Chris S
Chris S

Total Post:23

Posted on    February-23-2015 4:02 AM

Pointer is a variable that refers to the memory address. They are not used in java because they are unsafe(unsecured) and complex to understand.

Modified On Mar-11-2016 06:28:16 AM

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    February-27-2015 6:38 AM

Java is object oriented and an object's reference is similar to what pointers do.So there is no need of pointers in java

Don't want to miss updates? Please click the below button!

Follow MindStick