What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / srinivasan
execute() - will do the querying the database & also the
update,insert,delete on the database.
executeUpdate() - only the update,insert,delete on the
database.
executeQuery() - only the querying the database.
| Is This Answer Correct ? | 80 Yes | 23 No |
Post New Answer View All Answers
What causes no suitable driver error?
How do I find whether a parameter exists in the request object?
What class.forname will do while loading drivers of jdbc?
How many types of resultset are there in jdbc?
Explain the main method?
What is the major difference between java.util.date and java.sql.date data type?
How the JDBC application works?
How many locking systems are there in jdbc?
How we store procedure in oralce for callable statements in jdbc
What is correlated subquery?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What is jdbc odbc in java?
What is an odbc driver?
How do we call a stored procedure from jdbc?
How to retrieve warnings in jdbc?