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

Catch(Exception e){
}

in that what is Exception and purpose of that in that place
exactly?

Answer Posted / sreenu karampudi

The Catch block is used to catch the exception which is
from the try block. The exception type should be same in
order to catch it otherwise it won't

for example;

try {
// piece of code which gets ArthimeticException
}

Catch(ArthimeticException e) [
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What classes of exceptions may be caught by a catch clause in java programming?

1167


What is the base class of all classes?

1029


How is java created?

931


Give me some null interfaces in java?

1043


Define a package.

1063


What is charat java?

939


Does constructor be static?

1022


What is the abstract class?

1012


What is java util function?

1072


What is an object in java and how is it created?

1038


What is busy spin, and why should you use it?

1069


What is super?

1126


what state does a thread enter when it terminates its processing? : Java thread

1038


What are nested classes in java?

1094


Is java se free?

923