JDBC Quiz # 5

Instructions
Quiz: JDBC Quiz # 5
Subject: Basic Jdbc
Total Questions: 4 MCQs
Time: 4 Minutes

Note

  • Do not refresh the page while taking the test.
  • Results along with correct answers will be shown at the end of the test.
JDBC Quiz # 5
Question 1 of 4
00:00
  • You have to handle an erroneous situation in a transaction. Which method comes handy in this case?


  • Which type of statement object will you use to execute a stored procedure?


  • Which of the following methods eliminates the need to call wasNull() method to handle null database fields?


  • Consider the following statement:

    PreparedStatement ps=con.prepareStatement("INSERT INTO ORDER (CUSTOMER_ID ,PRICE) VALUES(?,?)");

    Which of the following should come after this statement?



Liked this quiz? Share it with friends:

JDBC Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it