• +91 9723535972
  • info@interviewmaterial.com

JDBC Interview Questions and Answers

Question - What is the difference between executing, executeQuery, executeUpdate in JDBC?

Answer -

execute(): it can be used for any kind of SQL Query.

executeQuery() : it can be used for select query.

executeUpdate(): it can be used to change/update table.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners