Which two of the following statements are true?
We cannot catch any exceptions
Exception catching is a good practice
If we don't catch exceptions, the program can shut down
Exception catching improves program interface design
✔️Exception catching is a good practice.
✔️if we don't catch exceptions, the program can shut down.
(U can see the answer/explanation in the quiz comment also.
But u should always try to solve it yourself first.)
We use Exception Handling to handle exceptions i.e. to caught checked exceptions using catch block. If we don't catch exceptions then obviously our program will terminate abnormally. So According to me 2nd and 3rd are true.