Question

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.

⭐ Make GKSeries Your Preferred Source on Google

Add GKSeries as Preferred Source