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 9676Post New Cybermate Interview Questions
Why db2 is called db2?
How do you delete iso files?
What are pseudo-collisions?
What are the directory structure of laravel 5.8?
Explain how Hive Deserialize and serialize the data?
what is ou? Explain its uses? : Windows server 2003
How does a treemap work?
What are the types of selectors in jQuery?
How would you perform unit-testing on your python code?
Why hibernate came into existence?
What are internal tables, check tables, value tables, and transparent table?
What are git stash and git stash drop?
what are fetched properties? How do you create a fetched property?
Which activity in the fundamental test process includes evaluation of the testability of the requirements and system?
Who was the first indian cosmonaut?