Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Java Exception Handling Tutorial
→
Java Exception Handling Interview Questions in Java Exception Handling Tutorial
→
Difference Between Throw And Throws?
1.
Difference Between Throw And Throws?
Answer»
throw is used to throw an exception.
THROWS
is used to declare an exception, in the
METHOD
SIGNATURE
, that can be
THROWN
from a method.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
When Is Custom Exception Class Needed? How To Create A Custom Exception Class?
What Is Try-with-resources Or Arm In Java 7?
What Is Multi-catch Statement In Java 7?
What Is The Error In The Following Code?
What Are The Rules Of Exception Handling With Respect To Method Overriding?
Final Vs Finally Vs Finalize?
Difference Between Throw And Throws?
What Is Throws Clause?
What Is Throw Keyword?
What Is Exception Propagation?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies