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 8159Post New Hexaware JDBC Interview Questions
What is Gaussian filter?
Do you know the basics of monetary policy? If yes, tell them.
What is mkdir m in linux?
Is there any sign of larvae or mature insects with the naked eyes?
Which are the two subclasses under exception class?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
Give the command for installation of the jar file in a local repository.
Can you inherit multiple abstract classes in c#?
What is an actual parameter?
How to join three sources using joiner?
Is facebook a web application?
Describe the ajax design pattern.
How can you install a program?
What is static void main in c#?
difference between windows 98, windows 2000 and windows XP