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 classes of exceptions, thrown by a throw statement?

Answer Posted / niranjanravi

Syntax for throw is:
throw throwableinstance;
Here the throwableinstance must be an object of type
Throwable or sub-class of Throwable.Simple types such as
int or char as well as non-Throwable types such as String
or object can't be assigned to throw.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is linkedlist thread safe in java?

980


What is string substring?

1157


What is garbage collection? Can it be forced to run?

1000


What is java beans?

980


How large is a boolean?

998


Why unicode is important?

918


Why is static used?

1015


Why hashcode is used in java?

952


Can a hashset contain duplicates java?

962


define the terminology association.

1092


How is hashcode calculated in java?

1012


What is data string?

948


What are the differences between the constructors and methods?

1098


what are the high-level thread states? : Java thread

994


Is it possible to use string in the switch case?

1034