what is difference between excute query ()and execute update
()?

Answer Posted / vikneswarank

excuteQuery() its method used perform select query and
delete query return ResultSet object.
excuteUpdate() used to perform DML operation return type
int

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What about anonymous inner classes in java?

559


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

601


What is prefix of a string?

568


What are functions in java?

496


What is a singleton class in Java?

501






What is boolean example?

525


Which java ide is used the most?

505


Is arraylist dynamic in java?

513


In case of inheritance what is the execution order of constructor and destructor?

634


Name few java util classes introduced with java 8 ?

497


What is Gang of four design patterns

590


What is the meaning of nullable?

572


When is update method called?

668


What is the set interface in java programming?

623


What is a line separator in java?

535