Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is the common usage of serialization? What exceptions occur during serialization?

1127


What is compiler and what its output.

1152


Explain about anonymous inner classes ?

1084


What is parameters example?

1031


What do you know about the garbage collector?

1115


Can we declare main () method as non static?

977


What are the new features in java 8?

1020


When would you use a static class?

986


What is the difference between preparedstatement and statement in java?

1166


What are the rules for naming an array?

1060


If goto and const is reserve words than why it is not work in java?

1974


How is java hashmap implemented?

1032


Can list be final in java?

933


what are the high-level thread states? : Java thread

1021


What exactly is java?

945