Define a class datetime which has integer attributes day


Define a class DateTime which has integer attributes day, month, year and time (Use Military time, 1:00pm is 1300, no colon). Make DateTime Serializable and Comparable. Define a class appointment which has String attributes description, location and who. It also has a DateTimeattribute. Make appointment Serializable and Comparable by date and time. Us the SortedLinked list defined in OrderedListEx to store your appointments. Use a binary file to save and restore the list. Write the entire list out with one output statement. Write a menu that allows the user to enter new appointments, delete an appointment, look up a single appointment by date and time, look up all appointments with a single person, list all appointments on a given day, list all appointments in order, and quit.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Define a class datetime which has integer attributes day
Reference No:- TGS01374309

Now Priced at $40 (50% Discount)

Recommended (97%)

Rated (4.9/5)