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

What is the difference between static and global variables and also define what are volatile variables?

986


What is the significance of continue jump statement? Explain with an example.

1249


Explain the selection sort algorithm and state its time complexity?

962


What is the largest number a double can hold?

975


What is boolean flag in java?

1033


What is the meaning of course?

1045


Can a class extend more than one class?

1051


Why vector is used in java?

962


How will you invoke any external process in java?

1045


How many bits are in a sentence?

1069


When throws keyword is used?

944


Explain OOPs concept.

1044


What does it mean that a class or member is final?

938


Can we execute java program without main method?

1006


How do you know if a value is nan?

1007