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 difference between throw and throws in exception?

Answer Posted / clement

throws specifies that a method could throw an exception
while throw is used to throw a particular type of exception

throw IOException;

public void clem()throws exception

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is string class considered immutable?

1003


Is space a character in java?

963


How many unicode characters are there?

983


Give us the name of the list layoutmanagers in java?

878


Is string serializable in java?

961


Tell us something about an iterator.

899


What does 0 mean in boolean?

932


What is cr keyboard?

1142


Define inheritance?

965


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

1247


What is variable explain?

962


Can Exception handling we can handle multiple catch blocks?

981


What is formatted output in java?

899


How can we avoid including a header more than once?

979


How to create packages in java?

894