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
Can we override the static methods?
What is a singleton factory?
What is heterogeneous in java?
What is array sorting in java?
What is string pooling concept?
What is a modifier?
Explain about object oriented programming and its features?
Can we override private constructor in java?
Explain what is encapsulation?
Can we have two main methods in a java class?
How do you avoid global variables?
What is the difference between preemptive scheduling and time slicing?
What environment variables are required to be set on a machine in order to run Java programs?
I want to store more than 10 objects in a remote server? Which methodology will follow?
Why is java logo a cup of coffee?