Question and answer is powered by AnsPress.io
Please tell me the difference between throws and throw.
Throws :
1 throws use for a method.
2 throws exception not handle by try-catch block.
3 throws exception created by a user.
Throw :
1 throw use for a statement.
2 throw exception handle by a try-catch block.
3 throw exception created by a programmer.