Home / CSE MCQs / JDBC :: Discussion

Discussion :: JDBC

  1. What happens if you call deleteRow() on a ResultSet object?
  2. A.
    The row you are positioned on is deleted from the ResultSet, but not from the database
    B.
    The row you are positioned on is deleted from the ResultSet and from the database
    C.
    The result depends on whether the property synchronizeWithDataSource is set to true or false
    D.
    You will get a compile error: the method does not exist because you cannot delete rows from a ResultSet

    View Answer

    Workspace

    Answer : Option B

    Explanation :



Be The First To Comment