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 9631Post New Cybermate Interview Questions
What is dependency injection laravel?
Why was css invented?
Is microservice stateless?
What are the functionalities of npm in node.js?
Introduce yourself in 5 lines.
RLIKE in Hive?
What is mean by Reserve on Consolidation?
How do you insert a row in word 2010?
What are two types of transaction supported by ado.net?
How do I convert pages to docx?
What is lts in node js?
What are layouts in web dynpro abap?
What is java bean class?
What is formatting in ms word?
What is the maximum and minimum length of macro variable