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

Explain how is method overriding different from overloading?

0 Answers  


Explain the function of attributes in tags?

0 Answers  


How to delete an existing cookie?

2 Answers  


Any one tell me what GOOGLE GEARS and how to use it ?

1 Answers   HCL,


How to include active x controls in asp code?

0 Answers  


Why do we use asp?

0 Answers  


Explain the life cycle of asp page.

0 Answers  


Define common language specification (cls)?

0 Answers  


We have recently bought Hart 475 communicator , when we try to use it on transmitter it shows error : Voltage detected on FF connectors and later show No device found , can any one give me and idea about how to solve it.

0 Answers   Globtech BD,


What is the difference between sap r/2 and r/3

0 Answers  


How do you make it so that code runs when the security system is stopping it?

0 Answers  


what is n tier ?

1 Answers   eSoft, Government,


Categories