nerdexam
GIAC

GSSP-JAVA · Question #45

Harry works as a Software Developer for SoftTech Inc. He has developed a Java application to perform various SQL statements such as INSERT, UPDATE, etc., against a database table named Employee. He…

The correct answer is B. Integer. See the full explanation below for the reasoning.

Question

Harry works as a Software Developer for SoftTech Inc. He has developed a Java application to perform various SQL statements such as INSERT, UPDATE, etc., against a database table named Employee. He has used the executeUpdate() method to perform various SQL queries and to know the exact affected rows in the database if any of the operations is performed against the database table. Which of the following types of values is returned by this method?

Options

  • ADouble
  • BInteger
  • CFloat
  • DString

How the community answered

(47 responses)
  • A
    9% (4)
  • B
    72% (34)
  • C
    4% (2)
  • D
    15% (7)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice