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

The 'throw' statement initiates an exception to be thrown
where as the 'throws' clause declares that the method is
expected to throw 1 or more checked execptions.

Is This Answer Correct ?    43 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to run ecllipse with jettyserver for windows environment using batch file

2089


What is the function of log?

1008


What is the main difference between java platform and other platforms?

1102


Is void a type?

978


Can constructor be protected in java?

965


Explain the advantages of packages in java?

917


What is t in parametric equations?

991


How to restrict a member of a class from inheriting by its sub classes?

1350


What does bitwise or mean?

1084


What is difference between Heap and Stack Memory?

1052


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

1036


How are the elements of a gridbaglayout organized in java programming?

983


How does varargs work in java?

1095


What exceptions occur during serialization?

1088


Can we initialize the final blank variable?

1090