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

Why we use protected in java?

1023


What is use of super keyword in java?

1083


What types of index data structures can you have in java?

1316


Is class forname reflection?

1034


What is java util concurrentmodificationexception?

957


What do you mean by constructor?

1032


What is arguments in java?

1056


Does unicode support all languages?

1086


Explain thread life cycle in java?

1094


What do you know about the garbate collector?

1084


Explain about arraylist?

1145


Define a java class.

1534


What is a lightweight component?

1064


Is null a string?

1051


What is collection class in java?

1052