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
how to create daemon thread in java?
How can u increase the heap size in the memory?
what is a working thread? : Java thread
How to perform bubble sort in java?
Does java allow default arguments?
What happens if main method is not static?
Why we override equals() method?
Can a class have multiple subclasses?
What are the string methods in java?
What is backdrop?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
What about main thread in java?
Why vector class is used?
Is it possible for a yielded thread to get chance for its execution again?
What is java’s garbage collected heap?