Exception Handling

Q1:
Which of the following statements are correct about exception handling in C#.NET?
  1. If our program does not catch an exception then the .NET CLR catches it.
  2. It is possible to create user-defined exceptions.
  3. All types of exceptions can be caught using the Exception class.
  4. CLRExceptions is the base class for all exception classes.
  5. For every try block there must be a corresponding finally block.

A 1 and 2 only

B 1, 2 and 3 only

C 4 and 5 only

D All of the above

E None of the above

ANS:B - 1, 2 and 3 only

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.