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

What is Java exception handling?

Answer Posted / nashiinformaticssolutions

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 are the two main uses of volatile in Java?

1091


What is difference between add() and addelement() in vector?

1580


Why string is immutable with example?

1031


What is an empty class? What functionality does it offer in Java?

1342


Give few difference between constructor and method?

1021


How big is a 64 bit float?

1067


What is generics in java interview questions?

1137


What is the static block?

1114


What is a condition in programming?

1051


Can we define a package statement after the import statement in java?

1114


What is the largest long allowed by java?

1097


What are java threads?

1169


How do you declare an array in java?

1129


Which is the best sorting technique in java?

1028


What is an exception? difference between Checked and Unchecked exception in Java

1055