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 9624Post New Cybermate Interview Questions
What is a string or array type?
What is the use of business application programming interface (bapi)?
How does ELISA work?
what are the ihttphandler and ihttphandlerfactory interfaces ?
How to make 3d sphere with photoshop spin software?
What are abiotic factors?
What is the purpose of sysvol?
Explain Ruby hashes?
what are the main components of the compensation management?
Mention what the difference between pilot and beta testing is?
Is jsp front end or backend?
How to consume message from jms queue in soa 12c?
What are the steps for creation of New Movement types and specific requirements for GL and codes from a unique company code?
How to test subquery results with the exists operator?
How do I reinstall windows live mail?