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 9497Post New Hexaware JDBC Interview Questions
What is an Optical Surface Analyser (OSA)?
How do I connect to amazon s3?
What are inbuilt functions?
What is difference between association, aggregation and inheritance relationships?
What is lazy instantiation in java?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
Difference between Response.redirect vs server.transfer?
Is main is a keyword in c?
What do you mean by staging area?
Are databases stored on servers?
Is wordpress a server?
How do I scan a document for malware?
What is the difference between dynamic strain aging and strain aging?
What is the difference between jquery-x.x.x.js and jquery.x.x.x min.js?
Is post type archive wordpress?