Description: Define a date class MyDate, at least with private member variables: year, month, day, and members of the method setYear, getYear, etc. (hide specific implementation methods for setting, access to member variables), isRunyear (boolean type, to determine the current object saved years is a leap year), in print (print date object \ month \ date information).
To Search:
File list (Check if you may need any files):
MyDate.java