Question: Which one of the following will not get the data from the first column of ResultSet rs, returned from executing the SQL statement: SELECT login,

Which one of the following will not get the data from the first column of ResultSet rs, returned from executing the SQL statement: “SELECT login, password FROM USERS”?

(a) rs.getString(0)

(b) rs.getString(“login”)

(c) rs.getString(1)

(d) All of the above

Step by Step Solution

3.46 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Advanced Java Programming Questions!