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

5 What is Java exception handling?

Answer Posted / hr@tgksolutions.com

In Java, exceptions are objects. When you throw an exception, you throw an object. However, you can’t throw just any object as an exception — only those objects whose classes descend from throwable. Throwable serves as the base class for an entire family of classes, declared in java.lang, that your program can instantiate and throw.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of 'super' keyword inside a constructor?

1014


What is time complexity java?

1038


How to declare objects of a class ?

1123


What java is used for?

1114


Why stringbuilder is not thread safe?

1080


Difference between == and .equals() ?

1035


How do you achieve polymorphism in java?

1030


Is it necessary for the port addresses to be unique? Explain with reason.

1056


What is percentage in java?

1055


Is java map thread safe?

1015


Are true and false keywords?

1067


Can there be an abstract method without an abstract class?

1004


What checkbox method allows you to tell if a checkbox is checked?

1052


How do you insert a line break?

959


What are the various access specifiers for java classes?

1112