Why pointer concept is not useds in Java ?.
Anonimo
I hope you know that a pointer is a variable which holds the address of another variable. One thing clear from the above definition is, By using a pointer variable you can directly access the physical address.Using pointer variable a programmer can access the physical address in the runtime and he can do whatever he wish to do on that physical address area where the pointer is pointing.This is security issue. Java is the language best known for its security features.Programmer cannot find the physical address of any variable or object at any case in java and prevents the programmer or user from accessing the physical address.Hence if java provide the advantage(disadvantage) of using pointers in programs there is chance of getting lot of security flaw, so java does not support pointers.