How can we retrieve data from the resultset?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JDBC Interview Questions

how you will execute the many tables data

1 Answers   Wipro,


What is execute in java?

0 Answers  


What is drivermanager in jdbc?

0 Answers  


What are the basic exceptions in jdbc?

0 Answers  


List the advantages of using datasource?

0 Answers  






What is a PreparedStatement?

3 Answers   Infosys,


How do java applications access the database using jdbc?

0 Answers  


What is ojdbc?

0 Answers  


Write an sql to find all records having all upper case alphanumeric characters in a field ?

0 Answers  


What is ODBC and JDBC? How do you connect the Database?

0 Answers  


What is jdbc drivers in java?

0 Answers  


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 Answers   Cybermate, Hexaware,


Categories