Which one of the following contains date information?
(a) java.sql.TimeStamp
(b) java.sql.Time
(c) java.io.Time
(d) java.io.TimeStamp
(a) java.sql.TimeStamp
(b) java.sql.Time
(c) java.io.Time
(d) java.io.TimeStamp
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Right answer is (a) java.sql.TimeStamp
Best explanation: java.sql.Time contains only time. Whereas, java.sql.TimeStamp contains both time and date.