1.

Which of these keywords is used to generate an exception explicitly?(a) try(b) finally(c) throw(d) catchThis question was addressed to me during an interview for a job.Origin of the question is Throw, Throws & Nested Try topic in section Exception Handling of Java

Answer» CORRECT ANSWER is (C) throw

Best EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions