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

State the main difference between c++ and java?

1140


Why do we need variables?

1034


How to change the priority of thread or how to set priority of thread?

1072


What do you understand by abstract classes?

1132


What function extracts specified characters from a string?

1054


Can we inherit a class with private constructor?

1177


What is the difference between the final method and abstract method?

1115


What is skeleton and stub? What is the purpose of those?

1190


What is collection api?

1104


Is oracle java 11 free?

1011


Does string isempty check for null?

1085


What is immutable data?

1110


What is the static method?

1124


What is implicit object in java?

1125


What is meant by bytecode?

1078