📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    âš¡ Month End Offer - Flat 52% Off On All Courses! Enroll Now âš¡
    00:00:00 AM Left

    Question

    ._______ method can be used for any SQL

    statements(Select and Update both).
    A executeQuery Correct Answer Incorrect Answer
    B executeUpdate Correct Answer Incorrect Answer
    C execute Correct Answer Incorrect Answer
    D All of the above Correct Answer Incorrect Answer
    E Both 1 and 2 Correct Answer Incorrect Answer

    Solution

    The execute method can be used for any SQL statements(Select and Update both). The execute method returns a boolean type value where true indicates that the ResultSet s returned which can later be extracted and false indicates that the integer or void value is returned.

    Practice Next
    ask-question