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
Q44: In database terminology, a column (or combination
Q45: An example of a desktop database is:<br>A)Oracle<br>B)MS
Q46: What will the following command do?<br>java -classpath
Q47: What should be on the class path
Q48: Which of the following table attributes could
Q50: When you execute a rollback:<br>A)the temporary data
Q51: What will the following command do?<br>java -classpath
Q52: A _ is a reference to a
Q53: Which clause allows the joining of multiple
Q54: Based on the following table, the query