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


Please Help Members By Posting Answers For Below Questions

What are mutable classes?

604


Does sprintf allocate memory?

699


Define an applet in java?

738


What are the topics in core java?

641


How many types of memory areas are allocated by jvm?

660






How do you allocate memory to object?

606


Explain reverse a linked list recursive java solution?

640


When parseint method can be used?

624


Is it possible for yielded thread to get chance for its execution again ?

649


How do you clear a method in java?

619


What is final keyword in java? Give an example.

657


What is java in layman terms?

622


Mention some interfaces implemented by linked list in java.

640


What is use of arraylist in java?

673


What classes of exceptions may be caught by a catch clause in java programming?

798