This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes diff b/w Throw and Throws Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "diff b/w Throw and Throws" Watch "diff b/w Throw and Throws" New topic

diff b/w Throw and Throws

Naresh Gangapuram

Joined: Aug 27, 2007
Posts: 1
diff b/w Throw and Throws
marc weber

Joined: Aug 31, 2004
Posts: 11343

Welcome to JavaRanch!

"throws" is an adjective. It's just a label, warning that the method has the potential to throw something. But "throw" is a verb. It actually does something.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link:
subject: diff b/w Throw and Throws