Java OCA OCP Practice Question 2031

Question

Which are valid ResultSet types?

  • I. TYPE_BACKWARD_ONLY
  • II. TYPE_FORWARD_ONLY
  • III. TYPE_REVERSE_ONLY
  • A. II
  • B. I and II
  • C. II and III
  • D. None of the above


A.

Note

There are three ResultSet type options: TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, and TYPE_SCROLL_SENSITIVE.

Only one of these is in the list, making Option A correct.




PreviousNext

Related