Question OOP-EXC-0076
HardWhy is 'catch and ignore' (an empty catch block) harmful?
- A.
It doesn't compile
- B.
It is slow
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Exception Handling question
Why is 'catch and ignore' (an empty catch block) harmful?
It doesn't compile
It is slow
Sign up free to see the answer and a step-by-step explanation.
Errors disappear silently, leaving the program in a bad state with no trace
It causes recursion