GkSeries.com

Q.

In Java programming environment, the throw keyword is used

[A] to generate exception programmatically
[B] to throw exception object
[C] to catch exception object
[D] none of the above
Answer & Explanation
Option: [A]

In Java throw keyword is used to handle exception programmatically.