1.

What is the use of try & catch?(a) It is used to manually handle the exception(b) It helps to fix the errors(c) It prevents automatic terminating of the program in cases when an exception occurs(d) All of the mentionedI had been asked this question at a job interview.The doubt is from Try & Catch in Detail in portion Indexers and Exception Handling of C#

Answer» RIGHT CHOICE is (d) All of the mentioned

Explanation: NONE.


Discussion

No Comment Found

Related InterviewSolutions