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

What are local variables?

1097


Why call by value prevents parameter value change?

1127


How infinite loop is declared?

1062


How do you reverse a word in java?

1152


What is an immutable object?

1173


Can a class be private in java?

1050


What is a flag variable?

1028


What is 16 bits called?

988


what is synchronization? : Java thread

1073


How can you make a class serializable in java?

1045


What is the difference between static class and normal class?

1088


What is the implementation of destroy method in java. Is it native or java code?

1025


What is proper subset?

1025


What is the meaning of find and replace?

1075


Can we declare a constructor as final?

1403