Which statement is used to catch all types of exceptions?
A. catch()
B. catch(Test t)
C. catch(…)
D. none of the mentioned
Answer:A
Which statement is used to catch all types of exceptions?
A. catch() B. catch(Test t) C. catch(…) D. none of the mentioned
Explanation:This catch statement will catch all types of exceptions that arises in the program.