Java
Pages
Home
Java
Interview
Tuesday, 17 January 2017
Difference in throws and throw ?
throws
is used with method definition to throw if any exception caught in the method
throw
is use for explicitly throwing a particular exception.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment