+ 1
Java Exception Handling
What is the difference between ‘throw’ and ‘throws’ in Java Exception Handling?
1 Antwort
+ 3
Throws defines the kinds of exceptions that the function can throw in general.
Throw is used to throw an actual exception as soon as it occurs.