Sybex
Java OCP 8 Study Guide Typo Chapter 10 page 543
15. Which of the following can fill in the blank to print the month, date, year, hour, minute, and second?
A. rs.getDate("d");
B. rs.getLocalDate("d");
C. rs.getLocalDateTime("d");
D. rs.getLocalTime("d");
E. rs.getTime("d");
F. rs.getTimeStamp("d");
F should be rs.getTimestamp("d");
with low letter s.
rs.getTimeStamp("d"); with Capital letter S is compile error.
by alinvlad05