What is JDBC Driver interface?How can you retrieve data from
the ResultSet



What is JDBC Driver interface?How can you retrieve data from the ResultSet..

Answer / Shivendra Kumar

JDBC Driver interface is an interface used to connect a Java program with a database. To retrieve data from the ResultSet, you can use methods like getString(), getInt(), getDouble(), etc., which correspond to the data type of the column and return the value at that specific column in the current row.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is hashing principle in java?

1 Answers  


What is an class?

1 Answers  


What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

1 Answers  


In java, what is the difference between method overloading and method overriding?

1 Answers  


Is null keyword in java?

1 Answers  


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

1 Answers  


Can we have multiple classes in single file ?

1 Answers  


Howmany number of objects we can store in an ArrayList. Is there any limit?

7 Answers   TCS,


If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?

5 Answers  


Why do we use regex?

1 Answers  


How are multiple inheritances done in Java?

1 Answers   Atos Origin,


What is a flag variable?

1 Answers  


Categories