【单选题】下面是创建Statement接口并执行executeUpdate方法的代码片段: conn=DriverManager.getCo

大学网课 已帮助 人

【单选题】下面是创建Statement接口并执行executeUpdate方法的代码片段: conn=DriverManager.getConnection("jdbc:odbc:book","",""); stmt=conn.createStatement(); String strsql="insert into book values("TP003", "ASP","李","清华出版社",35)"; n=stmt.executeUpdate(strsql); 代码执行成功后n的值为() 。

A.1

B.0

C.-1

D.一个整数

【单选题】下面是创建Statement接口并执行executeUpdate方法的代码片段: conn=DriverManager.getCo

热搜:关于抽象类和接口的说法,下面正确的是