• 2022-06-11
    Staternent类提供3种执行方法,用来执行更新操作的是()。
    A: executeQuery()
    B: executeUpdate()
    C: execute()
    D: query()
  • B

    内容

    • 0

      Statement提供3个执行SQL语句的方法,其中用来执行更新操作的是( )。 A: excuteQuery() B: executeUpdate() C: next() D: query()

    • 1

      Statement 类提供 3 种执行方法,用来执行更新操作的是( )。

    • 2

      4.PreparedStatement对象的方法执行包含参数的动态INSERT、UPDATE. DELETE 语句。 A: query() B: execute() C: executeUpdate() D: executeQuery()

    • 3

      Statement类提供3种执行方法,用来执行更新操作的是( )。 A: update() B: modify() C: executeUpdate() D: executeModify()

    • 4

      Statement接口提供( )方法,可以执行insert、update、delete语句。 A: executeQuery() B: executeUpdate() C: update () D: query()