1. Date comprises of a month, day, and year. Often, we represent each of these items as integers. For instance, July 4, 1990, is a month 7, day 4, and year 1990.
a.Write specifications for method which advances any given date by one day. Write a statement of purpose, pre- and post-conditions, and description of the parameters.
b.Write Java implementation of this method. Create and write any other methods which you require. Include comments which will be helpful to someone who will keep your implementation in future.