0

If there aren't pointers exposed to implement in java does Nullpointer exception need to be changed to Nullreference exception?

0

1 Answer 1

0

There is no pointers concept in Java unlike C/C++. You will get NPE when you are trying to perform some operation on a reference that is not pointing to any concrete object(is null). So you have references and it has a type which points to an Object of that type or it's subclass.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.