When defining your own exception class,you extend an existing exception class.This is an example of:
A) polymorphism
B) encapsulation
C) inheritance
D) all of the above
Correct Answer:
Verified
Q6: The execution of a throw statement is
Q7: A _ block executes regardless of whether
Q8: A _ block should immediately follow a
Q9: All exceptions are descendants of the class:
A)Throwable
B)Catchable
C)Tryable
D)Blockable
Q10: An exception is caught in a _
Q12: Exceptions that are subject to the catch
Q13: The catch block has _ parameters.
A)zero
B)one
C)two
D)three
Q14: Exception handling is an example of a
Q15: The Exception class belongs to the package:
A)java.io
B)java.util
C)java.lang
D)java.except
Q16: If a method does not catch an
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents