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

What is meant by method?

1106


Explain some best practices you would apply while using collection in java?

1037


Explain about the dynamic behavior of core java?

1138


What are different types of references?

977


How many threads does a core java have?

1070


What is pass by value?

945


What is thread count in java?

1010


What are the advantages and disadvantages of object cloning?

1108


What is nextline method in java?

1032


What is the difference between an interface and an abstract class?

1006


What is float in java?

992


What is procedure writing?

977


Can we sort list in java?

973


What are data structures in java?

977


How do you read a char in java?

1025