Two Laptop Bag
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
It's not a secret anymore!