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 9621Post New Cybermate Interview Questions
How can you use consumer api?
How bayes theorem is useful in a machine learning context?
How do you print a string on the printer?
What is advantage of categories? What is difference between implementing a category and inheritance?
What are the rules employed while naming the steps in a job?
What does rack awareness algorithm means and why is it utilized as a part of hadoop?
What Is The Difference Between Bombay Stock Exchange And National Stock Exchange?
What is a black box?
Which php version is required to install yii 2.0?
How can you convert a lead?
What is difference between string and string builder?
will Tableau perform with vast datasets?
Can parameters have to the drop-down list?
What is chart of account?
Why session is necessary in web application?