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 independent variable in an experiment?

912


What is the difference between abstraction and encapsulation?

1015


What about interthread communication and how it takes place in java?

1004


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

952


What are the skills required for core java?

960


Is ruby built on java?

905


What is meant by bytecode?

971


What are register variables what are the advantages?

872


What is api data?

953


What is thread count in java?

962


What is meant by interface?

1022


What is static import in java?

955


Can we nested try statements in java?

1054


Is special character in java?

1061


What is compiler and what its output.

1087