Why pointers resticted in JAVA??
Pointers are present in java. But JVM don't allow us to write.
for security purpose
To reduse complexity...
Because java is restricted to access the address of variables, objects because of java provided security purpose and if you are accessing address in java then you can't say that it is address of that object or variables u can say only it is unique id or representation of that .