Statement对象提供了int executeUpdate(String sqlStatement)方法,用于实现对数据库中数据的添加、删除和更新操作。
第1题:
A.All of the assert statements are used appropriately.
B.Only the assert statement on line 12 is used appropriately.
C.Only the assert statement on line 15 is used appropriately.
D.Only the assert statement on line 18 is used appropriately.
E.Only the assert statements on lines 12 and 15 are used appropriately.
F.Only the assert statements on lines 12 and 18 are used appropriately.
G.Only the assert statements on lines 15 and 18 are used appropriately.
第2题:
第3题:
此题为判断题(对,错)。
第4题:
Connection对象的方法createStatement()创建的是()对象。
第5题:
假定一个数据对象为int*类型,则指向该对象的指针类型仍为int*类型。()
A对
B错
第6题:
A.无参的构造方法Date(),用来创建当前日期时间的Date对象
B.在JDK的javA.util包中提供了一个Date类用于表示日期和时间
C.推荐使用Date(int year,int month,int date)构造方法来创建Date对象
D.接收一个long型参数date的构造方法Date(long date),用于创建指定时间的Date对象
第7题:
第8题:
此题为判断题(对,错)。
第9题:
下列()方法是Statement对象所具有的方法。
第10题:
A public member vairable called MAX_LENGTH which is int type, the value of the variable remains constant value 100. Use a short statement to define the variable.()