Can a try block have nested try blocks?



Can a try block have nested try blocks?..

Answer / Ravi Raushan

Yes, a try block can contain other try blocks. However, it's important to remember that when an exception is encountered within a try block, control immediately jumps out of all nested try blocks and any associated finally blocks are executed before continuing with the catch or finally block of the outermost try.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is the benefit of .net core?

1 Answers  


what is object lock?

1 Answers  


What is the use of UML in .Net

1 Answers  


What application do you use to install a Windows service?

1 Answers  


Explain me difference between public and static modifiers?

1 Answers  


WHAT IS .net

3 Answers  


Explain how to manage pagination in a page using .net?

1 Answers  


Explain the different parts of an assembly?

1 Answers  


What security mechanisms to enforce for Authenticating and authorizing the users?

1 Answers  


Is Driver Script any how related to AOM?

1 Answers   TCS,


What is singleton activation mode in .net?

1 Answers  


What is manifest in .net?

1 Answers  


Categories