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...


What is Exception ?
When is try, catch block used ?



What is Exception ? When is try, catch block used ?..

Answer / shikha nirankari

exception is an unhandled situations about which we know
before that they can arrise. For example try to divide by 0
is an exception. For handling exceptions we use try n catch
blocks.
try block is used to guard the statements in which exceptin
can be arrised.
catch block is used to take an action when an exception is
caught in a try block.
both try n catch blocks are dependent on each other. the
exception arrised in try block n the action needed to take
on its arrising will be done through catch block.

Is This Answer Correct ?    10 Yes 3 No

Post New Answer

More ASP Interview Questions

What do I have to do to make my code work with the security system?

0 Answers  


What are the 3 types of internal controls?

0 Answers  


In how many ways you can connect to the Database?

2 Answers   TCS,


Why .Net Does not Support multiple inheritance?

0 Answers   Quark,


Suppose someone gives a VB dll file (component). How to use that in an ASP file?

0 Answers   Perot Systems,


How to convert a string into an integer in .net?

0 Answers  


Name the control which would you use if you needed to make sure the values in two different controls matched?

0 Answers  


Explain how big is the data type int in .net?

0 Answers  


___________ and ____________ properity to be used to create localized version of a form

0 Answers   DCI,


explain uses of Textstream object in ASP

1 Answers  


What does active server pages look like?

0 Answers  


Define request object?

0 Answers  


Categories