1.

Which of these clauses will be executed even if no exceptions are found?(a) throws(b) finally(c) throw(d) catchThe question was asked in examination.The doubt is from Exceptions of Type Finally and Built in Exceptions in portion Indexers and Exception Handling of C#

Answer»

Correct choice is (B) FINALLY

Easy explanation - finally keyword is used to define a SET of instructions that will be EXECUTED irrespective of whether the exception is FOUND or not.



Discussion

No Comment Found

Related InterviewSolutions