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
Q28: If your program needs to look at
Q31: The _ clause is used to select
Q55: Based on the table below, the query
Q56: Based on the table below, the query
Q57: In the table below, the _ correspond(s)
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