Question OOP-EXC-0052
MediumWhy is catch (Exception e) {} with an empty body a bad idea?
- A.
It doesn't compile
- B.
It makes the program faster
- 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 (Exception e) {} with an empty body a bad idea?
It doesn't compile
It makes the program faster
Sign up free to see the answer and a step-by-step explanation.
It silently hides errors, making bugs hard to find
It catches nothing