Answers were Sorted based on User's Feedback
Answer / subrahmanyam
(Inner classes only)
|Is This Answer Correct ?||9 Yes||7 No|
Answer / keerthana
private-visible to class only.
public-visible to world.
private-visible to package and subclasses.
static-for creating class,methods and variables.
final-for finalizing the implementation of class,methods and variables.
abstract-for creating abstract classes and methods.
volatile-for implementing threads.
synchronized-for implementing threads.
|Is This Answer Correct ?||3 Yes||3 No|
Does the JDBC-ODBC Bridge work with Microsoft J++?
What is the exception thrown by JDBC ?
How a driver can be loaded?
How to check jdbc driver version in websphere?
What is JDBC Driver interface?
What do you mean by two phase commits?
what is the best way, in terms of performance, to do multiple insert/update statements, a PreparedStatement or Batch Updates?
Give an example for execution of sql statement.
What is a jdbc connection string?
What is jdbc driver?
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.
How warnings are retrieved in JDBC?