1.A date consists of a month, day, and year. Frequently, we represent each of these items as integers. For ex, July 4, 1990, is a month 7, day 4, and year 1990.
a.prepare specifications for a method that advances any given date by one day. Include a statement of purpose, pre- and post-conditions, and a description of the parameters.
b.prepare a Java implementation of this method. Design and specify any other methods that you need. Include comments that will be helpful to someone who will maintain your implementation in the future.
2.Consider a program that will read employee information into an array of objects, sort the array by employee identification number, prepare out the sorted array, and compute various statistics on the data, such as the average age of an employee. prepare complete specifications for this problem and design a modular solution. What classes and methods did you identify during the design of your solution? prepare specifications, including preconditions and post-conditions, for each method.