Multiple choice

The return value of the method 'execute Update (String s)' is _______.

  1. integer

  2. double

  3. record set

  4. no return value

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The executeUpdate(String s) method in JDBC returns an integer value representing the number of rows affected by the SQL operation (INSERT, UPDATE, DELETE). For CREATE TABLE or similar DDL statements, it typically returns 0.