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 / shiva

throw is used for to through exception system explicitly,and
throws is u sed for to throws exception means throws
ioexception and servletexception and etc.........

Is This Answer Correct ?    41 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is abstract class in Java?

1174


What is the difference between static and global variables and also define what are volatile variables?

1105


What is java basic concept?

1093


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

1374


What is double checked locking in singleton?

1107


What is append in java?

1245


What is data type in computer?

1003


What is an interface in java? Explain

1286


What is difference between word and integer?

1137


Why main method is static in java?

1232


Why can't we override private static methods?

1021


What is lexicographically smallest string?

1131


Do you know how to reverse string in java?

1217


Can java inner class be static?

1076


How can we create objects if we make the constructor private ?

1071