Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Egidius Bakker   on May 25 In Java Category.

  
Question Answered By: Vivian Ruiz   on May 25

NullPointerException is a RuntimeException, i.e. an unchecked
exception. Therefore your program will compile fine and if it throws a
NullPointerException during execution then your program may or may not
exit depending on what you are doing with threads. For example, if you
never launch any threads then your program will exit. However if you
have an AWT or Swing user interface and the runtime error occurs there
then your program will continue running.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on question on exception Or get search suggestion and latest updates.


Tagged: