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 / 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


Please Help Members By Posting Answers For Below Questions

What is class level lock ?

1034


What is a class variable?

1039


Is java util list serializable?

932


What is the disadvantage of synchronization?

1015


What are the uses of synchronized keyword?

1001


What is super keyword explain with example?

1287


What is array initialization in java?

1097


What are inner classes or non static nested classes in java?

1176


What lambda means?

1004


Why is the main method declared static?

1137


What is object class in java?

925


What is the effect of keeping a constructor private?

951


What is a type parameter in java?

992


Can long be null in java?

1020


Difference between this() and super() in java ?

1079