+ 1
Java Exception Handling
What is the difference between âthrowâ and âthrowsâ in Java Exception Handling?
1 Answer
+ 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.