1.

Which of the following is true about exception handling in C++? i) There is a standard exception class like Exception class in Java. ii) All exceptions are unchecked in C++, i.e., compiler doesn't check if the exceptions are caught or not. iii) In C++, a function can specify the list of exceptions that it can throw using comma separated list like following.

A. Only i,iii
B. Only i,ii
C. Only ii,iii
D. All of the above
Answer» C. Only ii,iii


Discussion

No Comment Found