Which of the following statements creates a new exception class?
A) class myClass {};
B) class myClass {} implements exception;
C) class myExceptionClass {} extends exception;
D) class myExceptionClass {} throws exception;
Correct Answer:
Verified
Q28: A(n) _ block specifies the type of
Q29: The class _ is designed to deal
Q30: Which of the following classes is derived
Q31: If you want to include members in
Q32: The general syntax to rethrow an exception
Q34: The function _ returns a string containing
Q35: Throwing an exception is typically done using
Q36: When an exception is thrown in a
Q37: The _ of the catch block parameter
Q38: Which of the following options should you
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