Why pointers are not used in java?

Showing Answers 1 - 4 of 4 Answers

srinivas

  • Sep 5th, 2006
 

Pointers can be used to access the memory location i.e out of JVM also.This is not prefered because of security concern.

Another Reason:

Applets can breach the firewall between networked application and personal computer

sandeep

  • Sep 7th, 2006
 

In java memory is alloted at run time and is also cleared automatically so it is not necessary to maintain memory in java coding hence pointers are not required,and also for some security reasons.

deepak gupta

  • Sep 17th, 2006
 

pointers r used 2 point the adress of any data i f we have address of any data then we can find any data and hack this data but java is secure bcause of thisit is also truth that without pointer java can noy work but it is not for user for implementing and to break the security

  Was this answer useful?  Yes

veera

  • Dec 21st, 2006
 

pointers are used to locate the address in computer's memory. In c/c++ we can know the address of any variable. But in java pointers are used internally by JVM which the user cannot know.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions