logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is a ResultSet ?


  • Correct Answer
  • A table of data representing a database result set, which is usually generated by executing a statement that queries the database ResultSet object maintains a cursor pointing to its current row of data Initially the cursor is positioned before the first row The next method moves the cursor to the next row, and because it returns false when there are no more rows in the ResultSet object, it can be used in a while loop to iterate through the result set 


  • Technology problems


    Search Results


    • 1. What is DriverManager ?
    • Discuss
    • 2. What is JDBC ?
    • Discuss
    • 3. What will be the output of the following code snippet? Object s1 = new String("Hello"); Object s2 = new String("Hello"); if(s1 == s2) { System.out.println("s1 and s2 are =="); }else if (s1.equals(s2)) { System.out.println("s1 and s2 are equals()"); }
    • Discuss
    • 4. What is classloader?
    • Discuss
    • 5. What is the difference between method overriding and overloading?
    • Discuss
    • 6. What are the different JDBC drivers available ?
    • Discuss
    • 7. Is the JDBC-ODBC Bridge multi-threaded ?
    • Discuss
    • 8. What is the difference between an Interface and an Abstract class?
    • Discuss
    • 9. What is the purpose of garbage collection in Java, and when is it used ?
    • Discuss
    • 10. What are pass by reference and passby value ?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment