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
What is public key encryption?
Please write a program to display “welcome to bestinterviewquestion.com” in c#?
Can I still use windows 7 in 2020?
How Azure services are managed?
When should I use django?
What is planning horizon?
What is translate tables?
How to define a class locally?
What is the difference between rated and per unit in transformer?
What do you know about distribution dashboard in tensorflow?
What are the various logic gates?
What is the command for registry editor?
Is merge sort better than quick?
What is the rest mass energy of an electron?
How much ram does windows 10 really need?