Question: can null pointer exception be caught?
Answer: Programs must not catch java. lang. NullPointerException . A NullPointerException exception thrown at runtime indicates the existence of an underlying null pointer dereference that must be fixed in the application code (see EXP01-J.