Java - Exception Handling
What does the throw keyword do in Java?
What does the throw keyword do in Java?
throwthrow keyword is used to send an exception object explicitly when an error happens.throw does not catch exceptions (that's catch), nor declare exceptions (that's throws), nor create threads.throw sends exception = B [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions