Question Solved1 Answer The class should have 3 properties(instance variables):monthdayyearThe class should have 2 actions (functions) :setDate() - allows the user to enter a date (mm, dd,year)showDate() - displays the date. Note:- Program a data class

RRPTZ8 The Asker · Computer Science

The class should have 3 properties (instance variables):

  • month
  • day
  • year

The class should have 2 actions (functions) :

  • setDate() - allows the user to enter a date (mm, dd, year)
  • showDate() - displays the date.


    Note:- Program a data class
More
See Answer
Add Answer +20 Points
Community Answer
PVYUJQ
See all the answers with 1 Unlock
Get 4 Free Unlocks by registration

Refer to image attached for detailed answer and explanation. As the programming language is not mentio ... See the full answer