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
Can we have any code between try and catch blocks?
How to convert string to char and vice versa?
Can we write method inside a method in java?
How many bits is a string?
What is one third plus one third as a fraction?
What is private protected in java?
Why destructor is not used in java?
What is unmodifiable collection in java?
how do I create a runnable with inheritance? : Java thread
How do you calculate roots in java?
What is "this" keyword in java? Explain
How do you decide when to use arraylist and linkedlist?
What are aggregate functions explain with examples?
Differentiate between stringbuffer and stringbuilder in java.
Why are the destructors for base class and derived class called in reverse order when the program exits