Question

    What is the purpose of the try-catch-finally

    construct?
    A To handle only checked exceptions Correct Answer Incorrect Answer
    B To handle only unchecked exceptions Correct Answer Incorrect Answer
    C To handle both checked and unchecked exceptions Correct Answer Incorrect Answer
    D To handle compile-time errors Correct Answer Incorrect Answer

    Solution

    To handle both checked and unchecked exceptions

    Practice Next

    Relevant for Exams: