Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.
4 6875Post New Hexaware JDBC Interview Questions
Can I use outlook with windows 10?
What are the components of rdbms?
How many ways we can deploy the webpart ?
How can the issue associated with high CPU usage be solved?
What is a VAT?
briefly explain how to use try and catch
What is the keyboard shortcut for closing a presentation?
How does contour plowing conserve soil? : soil science
what is efficient motors and how it is different from normal induction motors
How do you modify a table in sql?
Accelerometers measure acceleration. How do you measure the moment of inertia?
What are post-processor elements?
What is the zooplankton?
How can we determine what objects a user-defined function depends upon?
How can I customize the appearance of forms generated by zend_form?