This preview shows page 1. Sign up to view the full content.
Unformatted text preview: int getDay(): returns the day of the associated date. int getMonth() int getYear() void setDay(int d) void setMonth(int m) void setYear(int y) String toString(): returns a text representation of the Date object. Also write a DateTest class that creates several Date objects using information which is read from the user, and prints a String representation of each date....
View Full Document
- Spring '10