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 9680Post New Cybermate JDBC Interview Questions
What are the methods of bean life cycle?
Is json a framework?
How many null values are allowed in hashmap?
what is the default security setting in .net?
What is the 'interface' and 'implementation'?
Name any two contribution of Aryabhatta.
Explain the complete struts validator framework.
How many types of operators are used in the Perl?
What are the causes of dirty lubricating oil?
How do I remove text formatting in excel?
What is di ioc?
What is the WMLScript?
Name the various modules used in spring framework?
What is the concept of inheritance and how it works in .net?
What are dynamic actions and how to configure it?