CIW
1D0-541 · Question #136
Which method of the ResultSet class should be used to extract data of SQL data types CHAR and VARCHAR?
The correct answer is B. getString. See the full explanation below for the reasoning.
Question
Which method of the ResultSet class should be used to extract data of SQL data types CHAR and VARCHAR?
Options
- AgetShort
- BgetString
- CgetBigDecimal
- DgetChar
How the community answered
(36 responses)- A3% (1)
- B78% (28)
- C8% (3)
- D11% (4)
Community Discussion
No community discussion yet for this question.