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 9576Post New Cybermate Interview Questions
how to connect from struts to database through hibernet and where u can modify the class
What is Fragmentation and Defragmentation? For 32GB Table,How can we do the fragmentation?
What is the console in java?
What is a 64 bit operating system?
How can I reduce my powerpoint file size?
I want to invest in learning things that will get me good jobs in future. But wondering if Unix knowledge is something that is a MUST have or is it better to do any Data-warehouse tool (cognos, Qclik view, ETL etc..). Please suggest me.
What are derived properties in hibernate?
What is cookies in asp net?
Write a program to reverse the string?
What are the functions of windows?
How does sap s/4 hana relate to sap’s existing portfolio of cloud solutions?
Is treemap sorted?
How can we provide the WebParts control functionality to a server control?
How do I find where a program is installed?
Which framework is best for java?