Question: 1. A checked exception A extends the RuntimeException class B.extends the Error class C.may extend any Throwable class D.extends the Exception class 2.Which classes below

1. A checked exception A extends the RuntimeException class B.extends the Error class C.may extend any Throwable class D.extends the Exception class 2.Which classes below are considered common exception types? (Select all that apply) A.IOException B.NullReferenceException C.CheckedException D.ClassCastException E. NullPointerException 3.Which options express the goals achieved by robust exception handling? (Select all that apply) A Continuing execution B.Saving data C.Catching the right exception class D.Informing the user E. Throwing the exception 4.Which of the following descriptions is an example of an unchecked exception? A Casting a referent to the wrong type B.Running out of memory C.Trying to open a file someone else deleted D Looping through four elements in an array that has six elements 5.Which keyword is used when you want an exception to go up the stack? A.fail B.new C.throw D.throwsS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
