Multiple choice

Which of the following methods in DatabaseMetaData interface retrieves a list of the time and date functions available with this database?

  1. getDateAndTimeFunctions()

  2. getTimeAndDateFunctions()

  3. getDateTimeFunctions()

  4. getTimeDateFunctions()

  5. getAllTimeDateFunctions()

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

This is the correct choice. DatabaseMetaData interface in Java contains a method called getTimeDateFunctions() and it retrieves a comma-separated list of time and date functions available with this database.