Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Difference between throw and throws
02-05-2008, 09:59 PM
Post: #1
Difference between throw and throws
throw keyword is used to throw an exception manually from a method where throws is used to tell the compiler that we haven't handled the exception, ask the caller to handle the exception.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: