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 array length in java?

913


What do you mean by ternary operator in java?

964


How infinite loop is declared?

967


what is a green thread? : Java thread

955


Is Constructor possible in abstract class in java ?

987


Who is founder of java?

947


What is the point of polymorphism java?

955


Explain purpose of sleep() method in java?

1061


What is null mean in java?

1032


What is time complexity java?

949


What does I ++ mean?

999


What are use cases?

906


How concurrent hashmap works?

1124


What is the purpose of abstract class?

975


How is the marker interface used in Java?

1038