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

Difference between ‘>>’ and ‘>>>’ operators in java?

1073


How do you override a method?

957


Is constructor inherited?

913


What is a boolean output?

912


What is a local block?

1069


What are the restriction imposed on a static method or a static block of code?

996


What do you mean by formatting?

938


What is the difference between method overriding and overloading?

1173


What is the common usage of serialization? What exceptions occur during serialization?

1045


Can we create object of static class?

970


Explain about the security aspect of java?

923


What is array command?

1091


Where will it be used?

1888


What is thread synchronization in java?

858


What is a default constructor and also define copy contrucyor?

1046