Solved

What Is Wrong with the Following Statement

Question 49

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions