PreparedStatement method ________ returns a ResultSet.

a. executeUpdate
b. executeQuery
c. execute
d. None of the above.

b. executeQuery

Computer Science & Information Technology

You might also like to view...

Ethical hackers perform hacking with the permission of the network or system owner and without the intention to cause harm.

a. true b. false

Computer Science & Information Technology

Suppose that a client uses a struct object for the DataType of a class template, and this will require that operators (used within the class functions) are overloaded. The best way to tell a client which operators will need to have overloaded operator functions, and how the functions should be written, is to:

A. send the client a detailed email about all required overloaded operator functions B. place comments above the class template that specify the details of the required overloaded operator functions C. write details about the required overloaded operator functions into the client’s main program D. You shouldn’t tell the client how to do it – you should write the overloaded operator functions yourself, and place them in another file

Computer Science & Information Technology