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?
What is the similarity between try and throw?

Answer Posted / amar

throw is a statement level.throws is a method level.
In manual exception handling,we can also use the throws to
handle the excepions by the jvm,insted of handling there.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parsing in grammar?

978


What happens if I remove static from main method?

969


extending thread class or implementing runnable interface. Which is better? : Java thread

954


Is empty string in java?

1093


What is substring in java?

1126


what is ststic with example

2002


What is basic syntax?

976


What is the format specifier?

877


What is the difference between a static and a non-static inner class in java programming?

983


What is data and its types?

952


Can a static method be final?

1004


Is java a security risk?

959


How do you generate random numbers in java?

956


Is an empty arraylist null?

1038


What are the access modifiers available in java?

1059