Skip to content

Difference between throw and throws in Java with Example

4
Difference between throw and throws in Java with Example

Answer of classic java interview question throw vs throws .throw and throws are two keyword in used in Exception handling in Java. throws is used in method signature to declare which Exception can be thrown by method while throw method is used to actually

Read this post on javarevisited.blogspot.com


Popular Articles by this blogger