• 2022-06-05
    要执行str="select * from customer"语句,假设Statement对象stmt,执行SQL语句的代码哪个正确?
    A: stmt.executeQuery(str)
    B: stmt.executeUpdate(str)
    C: stmt.executeSelect(str)
    D: stmt.executeDelete(str)