Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

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.

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP
Assam Direct Recruitment Test Series

Computer Science Topics