what is difference between excute query ()and execute update
()?
Answer Posted / ashwani
execute query() returns a single resultset object.
exceute update() excecutes the insert, update and the delete
operation of the sql statement.This returns the integer
value or say the number of record affected by the SQL
statement execution.
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
What is the common usage of serialization? What exceptions occur during serialization?
What is compiler and what its output.
Explain about anonymous inner classes ?
What is parameters example?
What do you know about the garbage collector?
Can we declare main () method as non static?
What are the new features in java 8?
When would you use a static class?
What is the difference between preparedstatement and statement in java?
What are the rules for naming an array?
If goto and const is reserve words than why it is not work in java?
How is java hashmap implemented?
Can list be final in java?
what are the high-level thread states? : Java thread
What exactly is java?