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 “try and catch” in java

Answer Posted / vijay kumar

These are the keywords which is used for Exception handling in java.The statements which assumes to raise an exception should kept in try block, and catch block contains the alternate code which should execute when exception occurs.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the drawbacks of reflection?

1004


What is %d in printf?

1038


Why spring singleton is not thread safe?

993


What is the difference between static and non-static variables in java programming?

972


What is keyword auto for?

1178


What is the output of the below java program?

1045


What is the difference between declaration and definition in java?

1063


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

1062


What is matcher in java?

979


why are there separate wait and sleep methods? : Java thread

1016


what is meant by abstract class?

1125


Explain the difference between protected and default access.

993


What is a get method?

1046


What is isa relationship?

1041


What is difference between arraylist and list in java?

1081