Given the database table:
And given this class:
Assume that the SQL integer queries are valid. What is the result of compiling and executing this code fragment?
Refer to the exhibit.
A.
A
B.
B
C.
C
D.
D
E.
E
Explanation:
The code will compile now.
The three rows with PRICE in between 5.5 and 9.5 will be displayed.
B
C
C
C is correct
The second return false statement in evaluate method would be Unreachable code.
Sorry, i didn’t see the if test in try block.