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 9675Post New Hexaware Interview Questions
Does ms edge support java?
explain about Kalamkari.
What are accumulators in Apache Spark?
Explain one advantage of mesh topology?
have you ever had difficulty working with a manager?
What is a calculated field in excel?
How can we display all validation errors to user on jsp page?
Clarify how ordering in hdfs is finished?
why should I upgrade my goldengate extract processes to integrated extract?
What is meant by hierarchical Clustering in R?
What is counter reset in css?
Is magento the best ecommerce platform? Explain
What do you mean by 2-3-4 tree?
What is regression in machine learning?
Please explain what is the difference between findelement () and findelements ()?