Multiple Choice
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
Correct Answer:
Verified
Related Questions
Q3: The finally block contains code to be
Q5: A _ block should immediately follow a
Q8: All exceptions are descendants of the class:<br>A)Throwable<br>B)Catchable<br>C)Tryable<br>D)Blockable<br>
Q10: Methods that process String arguments as if
Q12: Exceptions that must follow the Catch or
Q16: What is the catch or declare rule?
Q23: What is the purpose of the method
Q41: Define an exception class called NegativeNumberException.The class
Q44: If you were going to catch an
Q45: When an exception is thrown,the code in