0 votes
by (1.6k points)

1 Answer

0 votes
by (876 points)
selected by
 
Best answer

execute method can run both select and insert/update statements. executeQuery method execute statements that returns a result set by fetching some data from the database. It executes only select statements.executeUpdate method execute sql statements that insert/update/delete data at the database.

...