Question:

If an error encountered in a method, then what would be one of the correct sequence of the following steps in the exception handling process :
(A) Exception is raised 
(B) Create exception object 
(C) Searches for method in call stack in reverse sequence 
(D) An error encountered in a method 
(E) Runtime system searches for exception handler in the current method 
Choose the correct answer from the options given below :

Updated On: Oct 17, 2024
  • (A), (B), (C), (E), (D)
  • (D), (B),(A) (E), (C)
  • (A), (C), (B),(D), (E)
  • (C), (A), (B), (E), (D)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

The correct option is (B) :(D), (B),(A) (E), (C)
Was this answer helpful?
0
0