1.

Which of the following benefit does Exception handling with the TRY and CATCH blocks provide?(a) Exceptions provide a mechanism to signal errors directly rather than using some side effects(b) Exceptions can be seen by the programmer and checked during the compilation process(c) Exceptions provide a clean way to check for errors without cluttering code(d) All of the mentionedI have been asked this question in an online interview.I need to ask this question from Error Handling topic in division Developing with SQL Server of SQL Server

Answer»

Right choice is (d) All of the mentioned

The best explanation: Exception HANDLING USING the TRY and CATCH statements is the common way that modern programming languages LIKE C# and JAVA treat ERRORS.



Discussion

No Comment Found

Related InterviewSolutions