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 8864Post New Hexaware Interview Questions
What is a dsp?
How to backup a drupal site?
What is a signal flow graph?
How to connect with sqlserver from perl and how to display database table info?
On a scale of 1 to 10 rate yourself as a person.
Why is data validation important?
why zomato?
What’s the difference between @component, @repository & @service annotations in spring?
Hydrogen cannot be removed easily from molten steel. What harm hydrogen has on property of steel ?
Explain what are acid properties?
Explain how come the code Works, but Doesn't for two-dimensional array of mine?
How to access a global variable inside a function?
How you to access command line arguments passed to a go program?
How are batch numbers assigned?
What are the types of data validation?