1. Design and implement an ADT that represents a calendar date. You can represen
ID: 3638800 • Letter: 1
Question
1. Design and implement an ADT that represents a calendar date. You can represent a date's month, day, and year as integers(for example, 5/15/2011). Include operations that advance the date by one day and provide two operations to display the date by using either numbers(05/16/2011) or words for the months(May 16, 2011). As an enhancement, include the name of the day.
2. Write a nonrecursive, reference-based implementation of the ADT sorted list of object as a Java class SortedListRefBased such that
a. Duplicates are allowed
b. Duplicates are not allowed, and operations must prevent duplicates from entering the list.