What is the difference between ExecuteUpdate and
ExecuteQuery?
Answer Posted / anji
executeUpdate() - is used to update or modify the table, it
will returns howmany rows added/updated in the table.
executeQuery() - is used to retrieve the data from the
table. only for "select" query, this will return a
Resultset metadata
Is This Answer Correct ? | 42 Yes | 2 No |
Post New Answer View All Answers
Can servlet have a constructor ?
What is difference between GenericServlet and HttpServlet?
What are life cycle methods of a servlet?
What is http servlet? Explain with the help of an example.
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
What do you mean by interservlet communication?
What do you mean by deployment descriptor?
What is the disadvantage of cookies?
What is the difference between portlet and servlet?
Which java framework is most popular?
What is session tracking?
How is an application exception handling is done using a servlet?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
What are the types of Session Tracking ?
What is Servlets and explain the advantages of Servlet life cycle?