When throw keyword is used?

Short Answer
Views 586

Answer:

An exception can be thrown, either a newly instantiated one or an exception that you just caught, by using throw keyword.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.