ProAnswers.org

Why pointers are eliminated from java.?

a. Pointers lead to confusion for a programmer.

b. Pointers may crash a program easily, for example , when we add two pointers, the program crashers Immediately.

c. Pointers break security. Using pointers, harmful programs like Virus and other hacking programs can be developed. Because of the above reasons, pointers have been eliminated from java.