Select from following answers:- Base class exception occurs
- Compiler Error : A previous catch clause already catches all exceptions of this or of a super type ('System.Exception')
- Divide by Zero Exception occurs
- No output.
- All Above
Yes. Latest version framework compilers will not allow giving specific exception class beneath the base exception. But in earlier framework versions if try has multiple catch block and base Exception class is defined very next to try block then compiler ignore all other catch blocks and executes the base class exception without error.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator