previous | start | next

Self Check

  1. Suppose a method calls the FileReader constructor and the read method of the FileReader class, which can throw an IOException. Which throws specification should you use?
  2. Why is a NullPointerException not a checked exception?

previous | start | next