Question

    What happens if an exception is thrown but not caught?

    A The program terminates immediately. Correct Answer Incorrect Answer
    B The exception is ignored, and the program continues execution. Correct Answer Incorrect Answer
    C The program goes into an infinite loop. Correct Answer Incorrect Answer
    D The exception is automatically caught and handled by the runtime environment. Correct Answer Incorrect Answer

    Solution

    The program terminates immediately.

    Practice Next

    Relevant for Exams: