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

What is module in oop?

973


What does substring mean?

944


What is the length of a string?

970


What’s a deadlock?

1064


Is 0 a prime number?

945


What is the difference between a constructor and a method?

1186


What is difference between length and length() method in java ?

953


What does this mean java?

1048


What are the pillars of java?

883


Where will it be used?

1900


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

2113


What is the difference between throw and throws keywords?

1007


What does void * mean?

978


What is class and object in java?

961


Can you sort a string in java?

864