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.

25th Aug 2017, 12:09 PM
Yatin Chaudhari
Yatin Chaudhari - avatar
1 Resposta
+ 2
Java does support pointers, you just don't refer to them explicitly :)
30th Aug 2017, 12:56 PM
Michael Vigato
Michael Vigato - avatar