Multiple Choice
What is wrong with the following statement? ResultSet result = statement.execute("SELECT * from emp WHERE empNum = '5'") ;
A) ResultSet should be String
B) execute should be executeQuery
C) execute should be prepareStatement
D) 5 should not be used as an empNum value
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q23: One of the steps for testing the
Q27: Used with the LIKE operator, the _
Q31: The _ clause is used to select
Q45: An example of a desktop database is:<br>A)Oracle<br>B)MS
Q61: What will the following expression match to?
Q62: The outcome of a SQL query is
Q64: Beginners are afraid of issuing complex SQL
Q65: In a Java program, the result of
Q67: What statement will return the value of
Q71: What is the effect of the following