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 8200Post New Hexaware Interview Questions
What is the difference between “#==” and “#equal?”
Do you think BCNF is better than 2NF & 3NF? Why?
How to implement joins in hibernate?
What is the meaning and purpose of each of: 1) Test Strategy 2) Test Plan #) Test Case? What is an example of each?
How is corrective maintenance different from breakdown maintenance?
When is a declare statement required?
Explain the real-time usage of raspberry pi?
Do you know how is multithreading achieved in python?
Can you instantiate a struct without using a new operator in c#?
What is the use of extended interval match function()?
What is the steam consumption formula?
What is php glob?
What is application client?
What is a bean definition made up of?
Do you know the different ddl commands in sql?