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 8175Post New Hexaware Interview Questions
What does arraylist remove do?
Tell the name of the rbi governor of india?
What is meant by jms?
Discuss the various running mode of Apache Spark?
How to calculate material and labor required for 100 m2 plaster?
Can we make copy constructor private in c++?
How do you check if an object is an array or not?
What type of interrupt is the “trap” and what does it do?
How to run database Query on WordPress?
Can we use any function inside isr?
What are the 3 types of transitions in powerpoint?
Explain the two tier and three tier architecture of jdbc.
What are the different ways in which solids can be blended?
How do I calculate age in excel?
What kind of maintenance is conducted for Transformer