what is difference between excute query ()and execute update
()?
Answer Posted / naresh
executeQuery() method used for only selecting the records
and its return value is in the form of ResultSet Object.
executeUpdate() method used for DDL and DML commands and
its returns the int value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is array length in java?
What do you mean by ternary operator in java?
How infinite loop is declared?
what is a green thread? : Java thread
Is Constructor possible in abstract class in java ?
Who is founder of java?
What is the point of polymorphism java?
Explain purpose of sleep() method in java?
What is null mean in java?
What is time complexity java?
What does I ++ mean?
What are use cases?
How concurrent hashmap works?
What is the purpose of abstract class?
How is the marker interface used in Java?