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
Q25: Based on the table below, the query
Q26: When you are done with a Statement
Q27: Used with the LIKE operator, the _
Q28: If your program needs to look at
Q29: When you close a connection:<br>A)it closes the
Q31: The _ clause is used to select
Q32: When you first get a result set
Q33: The acronym JDBC stands for _:<br>A)Joint Data
Q34: All database URLs have the format:<br>A)jdbc:subprotocol:driver-specific data<br>B)jdbc/subprotocol/driver/data<br>C)oracle.jdbc.driver.OracleDriver<br>D)c:\jdk1.7.0\db\lib\driver.jar
Q35: Which of the following would be a