R
Q. Which of the following statements are correct about exception handling in C#.NET? 1 If an exception occurs then the program terminates abruptly without getting any chance to recover from the exception. 2 No matter whether an exception occurs or not, the statements in the finally clause (if present) will get executed. 3 A program can contain multiple finally clauses. 4 A finally clause is written outside the try block. 5 Finally clause is used to perform cleanup operations like closing the network/database connections.
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. The ______ parentheses that follow _____ indicate that no information is passed to Main().
Q. What will be the output of the following C# code?
Q. What will be the output of the following C# code?
Q. How can you prevent inheritance from a class in C#.NET ?
Q. What will be the output of the following C# code?
Q. All IO classes that represent streams are derived from the ______ class.
Q. What will be the output of the following C# code?
Discusssion
Login to discuss.