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 9674Post New Cybermate Interview Questions
Explain basic structure of html5?
how you can create/delete databases in Neo4j?
What are the manipulators in c++?
What is msil in c#?
How do you get design ideas from powerpoint?
How do you create a successful powerpoint presentation?
how to read and write a file using JavaScript?
What are the limitations of current Generative AI models?
What are the steps involved in MapReduce framework?
What is skewed distribution & uniform distribution?
What is datasource?
What are money-back policies?
Explain personal, shared and secured? : sap bobi
In ibm how should web application servers be used with peopletools 8.1x and peopletools 8.4?
Comparison between Secondary NameNode and Checkpoint Node in Hadoop?