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

Answer Posted / surender kannuri

throws clause is used to whenever programmer doesn't want to
handle exception.throws it out of method.

throw is used whenever programmer wants to handle exception
explicitly by using catch blocks.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does importing a package imports its sub-packages as well in java?

1014


What is an iterator interface in java programming?

1026


Can we sort list in java?

1023


How we can make copy of a java object?

1151


Is a method a function?

1097


Explain all java features with real time examples

1764


What are green threads in java?

1055


What is string data type?

1019


What is hotjava?

1069


What is the transient keyword?

2352


what are the methods in object?

1205


What is a substitution variable?

1077


What is lastindexof in java?

1175


Print Vertical traversal of a Binary Tree.

1064


What is a arraylist in java?

1128