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