Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If we write a goto or a return statement in try and catch
block will the finally block execute?

Answer Posted / om namo bagavathe vasudevaya n

what ever goto or continue statement you used in try/catch
the finally bolck must be executed

even an exception occuerd or an exception not occured in the
try block the finally block defanetly executed

but they are some excptions like system exceptions and
application exceptions.For this exceptions the finally block
may or may not excute because

SYSTEM EXCEPTIONS:this excptions occur during runtime
examples:some hardware problems

Application Exception:they also probally occur whill the
application is running

example:if we give textbox maximum size limt as 50
characters.If we enter morethan 50 characters then some
exceptions should occur

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is xaml file in c#?

961


How do you set a class path?

888


What is a callback c#?

1008


When was c# created?

993


Explain briefly the difference between value type and reference type?

1037


What is generic types in c#?

942


How to use the sreamReader class to read form a text file?

996


What is a class c#?

935


What is the meaning of 0 in c#?

1006


What are the benefits of using generics?

1003


Define Final Class in C#

1038


What is session and cookies in c#?

972


Are private members inherited in c#?

976


Can we inherit two classes in c#?

956


Explain the role of Garbage collector and its generations?

963