Exit 1Z0-819 Java SE 11 Developer
Question 5 of 5
0% complete
Q5 Single choice

Assume ds is a DataSource and the EMP table is defined appropriately.

What does executing this code fragment do?

  • A

    inserts two rows (101, 'SMITH', 'HR') and (102, 'JONES', NULL)

  • B

    inserts two rows (101, 'SMITH', 'HR') and (102, 'JONES', 'HR')

  • C

    inserts one row (101, 'SMITH', 'HR')

  • D

    throws a SQLException