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?

Answers were Sorted based on User's Feedback



What is the difference between throw and throws? What is the similarity between try and throw?..

Answer / giri

throw is used to throw an exception manually, where as
throws is used in the case of checked exceptions

Is This Answer Correct ?    4 Yes 1 No

What is the difference between throw and throws? What is the similarity between try and throw?..

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

More Core Java Interview Questions

What is the difference between static and non-static variables in java programming?

0 Answers  


what is use of business objects?

3 Answers   Tech Mahindra,


What are the four corner stones of oop?

0 Answers  


What happens if constructor is private?

0 Answers  


What happens if we don’t override run method ?

0 Answers  


Hi am an mca graduate . i have done bsc maths in my degree . every company asks me why you make shift from maths group to computere field . What i need to answer?

2 Answers  


Explain thread in java?

0 Answers  


What is a platform?

0 Answers  


Implementations of set interface?

0 Answers  


What is difference between identifier and variable?

0 Answers  


What modifiers are used for interface declaration?

7 Answers  


why constructor dont have returns type?

9 Answers   IBM,


Categories