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

Verified
Correct Answer:
Verified
Related Questions
Q5: What does the following statement do?<br>String prodCode
Q15: Given the following two statements, what does
Q23: One of the steps for testing the
Q26: The _ symbol in the query string
Q32: When you first get a result set
Q33: The acronym JDBC stands for _:<br>A)Joint Data
Q35: Based on the following table, the query
Q38: In SQL, _ is used to test
Q41: Based on the table below, the query
Q43: In the table below, the _ correspond(s)