0
When java deos not support pointer, why does it throws multipointer Exception ?
Java is full of pointers. All references are actually pointers. Just that you cannot do any operations on them except assignments. Also null pointer means the method/field of the object you are trying to access does not exist, or is null, that is the reference is not pointing to an object that actually exists.
1 Resposta
+ 2
Java does support pointers, you just don't refer to them explicitly :)