Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these keywords must be used to handle the exception thrown by try block in some rational manner?
  2. A.
    try
    B.
    finally
    C.
    throw
    D.
    catch

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    If an exception occurs within the try block, it is thrown and cached by catch block for processing.


Be The First To Comment