单项选择题

java程序与数据库连接后,需要查看某个表中的数据,使用下列哪个语句?()

A.executeQuery()
B.executeUpdate()
C.executeEdit()
D.executeSelect()