.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

can we put the Break statement in Finally block?

Posted By :Narayanan     Posted Date :September 01, 2011    Points :40   Category :.NET Framework 

You can also find related Interview Question to can we put the Break statement in Finally block?  below: 

Why do we need Try-Finally block?

The code inside the finally block will be executed even after throwsing the exception, and the statements in the program that followed th finally block will not be executed.

Thus the exception prevents the control from beign transfered to any part of the program execept th finally block. (More...)

what is Purpose of using Break Statement?

Exists from the Loop of a FOR,WHILE or DO WHILE Statement (More...)

Can we have return statement in Final block?

No,Final block is being run as a effect of exception thrown from try block. (More...)

what is Purpose of using Break Statement?

Exists from the Loop of a FOR,WHILE or DO WHILE Statement (More...)

What is the difference between break and continue statement

The break statement is used to terminate the current enclosing loop or conditional statements in which it appears. We have already used the break statement to come out of switch statements.

The continue statement is used to alter the sequence of execution. Instead of coming out of the loop like the break statement did, the continue statement stops the current iteration and simply returns control back to the top of the loop. (More...)

Can code inside multiple catch block be executed?

No, Code can not execute in mutiple catch block (More...)

How many Columns per INSERT statement is allowed

4096 Columns allowed in per Insert SQL (More...)

Can multiple catch blocks be executed for a single try statement?

No. Once the proper catch block processed, control is transferred to the finally block (if any).

So we can not execute multiple catch block in one try block (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend