The package java.util.Date is used for date and time but java.sql.Date is use for date and its complement java.sql.Time is used for time purpose and difference in both date classes are:
1. method toString() represents different string representation.like yyyy-mm-dd.
2. a static valueOf(String) method which create a date from above string.
3. getters and setters methods are deprecated. and java.sql.Date is used with JDBC.