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

When try and catch block is used ?

Answer Posted / ravikiran

try is used to enclose the code which is supposed to throw
an exception
catch is used to catch the exception which is raised with
in the try block

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you decide when to use arraylist and linkedlist?

991


Explain static nested classes ?

1118


What is appletviewer?

1037


What are the different ways of implementing thread? Which one is more advantageous?

986


Can we declare a static variable inside a method?

1002


How to create packages in java?

950


What is meant by interface?

1058


What are internal variables?

1001


What is lossy conversion in java?

1210


What is backdrop?

1069


What are the approaches that you will follow for making a program very efficient?

1078


What is parsing a string?

1174


What is the difference between access specifiers and access modifiers in java?

1176


What is general methodology?

1039


What are the benefits of operations in java?

1052