The class java.sql.Timestamp has its super class as

Options
- java.sql.Time
- java.util.Date
- java.util.Time
- None of the above


CORRECT ANSWER : java.util.Date

Discussion Board
Date Class

TimeStamp has the super class as Date which represents a specific instant in time, with millisecond precision. It allows the date to include year, month, day, hour, minute, and second values. It also allowed the formatting and parsing of date strings. The Calendar class is used to convert between dates and time fields and the DateFormat class is used to format and parse date strings. Although the Date class is intended to reflect coordinated universal time (UTC).

Rohit Sharma 09-16-2014 04:55 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement