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 difference between stringbuffer and stringbuilder?
What is a functional interface?
What are the ways to instantiate the class class?
Which are different kinds of source code?
Is this valid in java ? Can we instantiate interface in java?
State the merge-sort principle and its time complexity.
What are synchronized methods and synchronized statements in java programming?
Explain what access modifiers can be used for methods?
How do you compare characters in java?
Define an abstract class with reference to java.
What is http client in java?
Which java version is latest?
Why java is object oriented?
Difference between vector and arraylist.
What is local variable and instance variable?