Java OCA OCP Practice Question 2025

Question

Fill in the blanks:

There are ___ ResultSet concurrency modes, and drivers are required to support ___.

  • A. two, both
  • B. two, one of them
  • C. three, two of them
  • D. three, all of them


B.

Note

There are two ResultSet concurrency modes: CONCUR_READ_ONLY and CONCUR_UPDATABLE.

All database drivers support read-only result sets, but not all support updatable ones.

Therefore, Option B is correct.




PreviousNext

Related