单项选择题

JDBC API中执行了SQL语句SELECT a,b,c FROM t,在返回的结果集rs中得到第一列数据的代码是()。

A.rs.getString(0)
B.rs.getString(1)
C.rs.getString("a")
D.以上都不对