Java as any java developer knows doesnt support pointers like c++ , however as u know the JVM supports reference, and references point to objects' places in the virtual machine's memory.so as a conclusion its a badly-named exception and probably got its name as a heritage from C.
من قبل
Faisal Alghamdi , Senior IT Supervisor , al-nahdi medical company saudi arabia
Definitely there are pointers in Java and the null pointer error is one of them but they are managed by the JVM. However, you are not required to deal with them "directly" as you do with C++. You create refrences by delclaring new variables.. They are pointers. When you declare a variable "pointer" then you need to initialize before using this variable.. otheriwse you will get an error.
من قبل
mukhtar ahmed Ibrahim , Software Engineer , the norwegian tax administration (skatteetaten)
We don't use pointers in java. But internal implementation of JVM uses pointers. When you allocate memory for an object by calling new, you get back a pointer.