Which of the following are true ?
Reveal answer
Fill a bubble to check yourself
Which of the following are true ?
The executeUpdate method returns all the rows that were affected
The executeUpdate method returns the no. of rows that were affected
Depends , as there is more than one version of this method with different return types
None of the above
The executeUpdate() method in JDBC returns an integer value representing the number of rows affected by the SQL operation (INSERT, UPDATE, DELETE). Option A incorrectly states it returns 'all the rows' rather than the count. Option C is incorrect because while overloaded versions exist, they all return row counts.