对查询结果集ResultSet进行遍历需要调用的方法是( )。
A. next()
B. last()
C. first()
D. move()
查看答案
判断查询结果集是否为空可以使用的是( )。
A. if(rs.getInt(1))
B. if(rs=null)
C. if(rs.next())
D. if(rs is null)
执行executeUpdate()方法返回值类型是( )。
A. ResultSet
B. int
C. double
D. float
JDBC是Java数据库连接技术(Java DataBase Connectivity)的简称。( )
A. 对
B. 错
Directions:In this section, you will hear two long conversations. At the end of each conversation, you will hear four questions. Both the conversation and the questions will be spoken only once. After you hear a question, you must choose the best answer from the four choices marked A), B), C), and D).Questions 8 to 11 are based on the conversation you have just heard.[音频]8. A) Attended an economics lecture.B) Taken a walk on Charles Street.C)Had a drink at Queen Victoria.D) Had dinner at a new restaurant.9. A) Treat a college friend to dinner.B) Make preparations for a seminar.C)Attend his brother’s birthday party.D) Visit some of his high school friends.10. A)Gather statistics for his lecture.B) Throw a surprise birthday party.C) Meet with Jonathan’s friends on the weekend.D) Join him in his brother’s birthday celebration.11. A) By car.B) By train.C) By taxi.D)By bus.