• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

diff b/w Throw and Throws

 
Naresh Gangapuram
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
diff b/w Throw and Throws
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic