Question: Design an implement a class Date that has the following properties: Three member variables (int) day, month and year. Accessor methods and mutator methods for
Design an implement a class Date that has the following properties: Three member variables (int) day, month and year. Accessor methods and mutator methods for each of the members A method to set the date that takes ina string in the form dd/mm/yyyy A method display that displays the date in the form dd/mm/yyyy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
