what is difference between excute query ()and execute update
()?
Answer Posted / gambhir
executeQuery() is used to perform DDL operation like
(create,alter) while executeUpdate() is used to perform DML
operation like (insert/update/delete).
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of void class?
What is the difference between static binding and dynamic binding?
Is empty string in java?
What is literal example?
How does the garbage collector works in java?
What is a double vs float?
Differences between traditional programming language and object oriented programming language?
What is linked hashset and its features?
What is close method? How it's different from Finalize & Dispose?
What restrictions are placed on method overriding?
What is called module?
Explain methods specific to list interface?
What is java in simple terms?
How many ways can we create singleton class?
How many types of threads are there in java?