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 9676Post New Hexaware JDBC Interview Questions
What is a table in a database?
Which is the parent class of linkedlist class?
Discuss 2D arrays.
What is mdb in java?
What is the use of 'entity-relationship' diagram?
How to test values returned by a subquery with the in operator?
What is updatedb?
Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?
In ACS 1000 drive we are using 12 pulse converter,why don't use 3 pulse converter.
Is java 1.7 the same as java 7?
Why is there extra space before or after my table?
How come you find out if a linked-list is a cycle or not?
Explain as a ba (business analyst) approaching a new piece of work, who would you interview and what questions would you ask?
How do makefiles work?
What is the web service used for reporting services?