Why there are two Date classes; one in java.util package and another in java.sql?
A java.util.Date represents date and time of day, a java.sql.Date only represents a date (the complement of java.sql.Date is java.sql.Time, which only represents a time of day, but also extends java.util.Date).
No comments:
Post a Comment