Multiple choice

Which of the following methods is defined in DatabseMetaData interface in Java Database Programming?

  1. getMaxTableLength()

  2. getMaxTables()

  3. getMaxCharLiteralLength()

  4. getMaxUserLength()

  5. getSchema()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This is the correct answer because getMaxCharLiteralLength() is defined in the DatabaseMetaData interface and it retrieves the maximum number of characters the database allows for a character literal.