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 an exception in java?
How does compareto method work?
What is a lambda expression ? What's its use ?
What modifiers are allowed for methods in an interface?
How big is a pointer?
Is main a function?
What is the difference between numeric and integer?
Is the milky way in a void?
How does map works in java?
What is object cloning in Java?
What is a marker interface?
Is simpledateformat safe to use in the multithreaded program?
What is the difference between an interface and an abstract class?
Which arithmetic operations can result in the throwing of an arithmeticexception?
How can an object be unreferenced?