Question OOP-EXC-0054
MediumWhat happens to an exception thrown in a method that doesn't catch it?
- A.
The method restarts
- B.
It is converted into a warning
- 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
What happens to an exception thrown in a method that doesn't catch it?
The method restarts
It is converted into a warning
Sign up free to see the answer and a step-by-step explanation.
It is ignored
It propagates up the call stack to the caller