1. The class at the top of exception class hierarchy is ................. A. ArithmeticException B. Throwable C. Object D. Exception Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
2. In which of the following package Exception class exist? A. java.util B. java.file C. java.io D. java.lang E. java.net Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
3. Exception generated in try block is caught in ........... block. A. catch B. throw C. throws D. finally Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
4. Which keyword is used to explicitly throw an exception? A. try B. throwing C. catch D. throw Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
5. Which exception is thrown when divide by zero statement executes? A. NumberFormatException B. ArithmeticException C. NullPointerException D. None of these Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board