nerdexam
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)
  • A
    3% (1)
  • B
    78% (28)
  • C
    8% (3)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full 1D0-541 Practice