Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing

Question

Are ResultSets updateable?

  • Yes, but only if we call the method openCursor() on the ResultSet and if the driver and database support this option.
  • Yes, but only if we indicate a concurrency strategy when executing the statement, and if the driver and database support this option.
  • Yes, but only if the ResultSet is an object of class UpdateableResultSet and if the driver and database support this option.
  • No, ResultSets are never updateable. We must explicitly execute a DML statement to change the data in the underlying database.
Answer- B


More Test for Practice