View the step-by-step solution to:


Exception handling

All Exceptions that can be thrown must descend from this Java


The getMessage( ) method is inherited from this class?

What are the two broad catagories of Exceptions in Java?

If an Exception is not a checked exception it must extend what class?

What is the difference between a checked Exception and an unchecked Exception?

What are the two options a programmer has when writing code that may cause a checked Exception to be thrown? Can a try block contain code that would cause more than one type of Exception to possibly be thrown?

Is it true that a try block can only be followed by ONE catch block?

What is the purpose of the finally block?

When is the code in the finally block executed?

What happens when a try block throws an Exception object? Is an Exception the same thing as a syntax or logic error? 

Top Answer

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.


Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online