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.
A) 1 only
B) 2 only
C) 2 and 5 only
D) 3 and 4 only
Correct Answer:
Verified
Q16: Which of the following statements are correct
Q17: Which of the following statements are correct?1.
Q18: Which of the following will be the
Q19: If s1 and s2 are references to
Q20: Which of the following statements is correct
Q22: _ parameters are used to pass results
Q23: The formal-parameter-list is always enclosed in _.
A)Square
B)Semicolon
C)Parenthesis
D)Colon
Q24: _ variables are visible only in the
Q25: C# does not support _ constructors.
A)parameterized
B)parameter-less
C)Class
D)Method
Q26: A structure in C# provides a unique
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents