Date -day: int -month: int -year:int +getDay():int +getMonth():int +getYearl): int +set Day(Day: int):void +set Month(Month:int):void +setYear(Year.int):void +set Date(Day: int, Month:int,...



Create the class as shown in Class diagram.




  • day : must be between 1 and 31


  • month: must be between 1 and 12


  • year: must be greater than 1900


Date<br>-day: int<br>-month: int<br>-year:int<br>+getDay():int<br>+getMonth():int<br>+getYearl): int<br>+set Day(Day: int):void<br>+set Month(Month:int):void<br>+setYear(Year.int):void<br>+set Date(Day: int, Month:int,<br>Year.int):void<br>

Extracted text: Date -day: int -month: int -year:int +getDay():int +getMonth():int +getYearl): int +set Day(Day: int):void +set Month(Month:int):void +setYear(Year.int):void +set Date(Day: int, Month:int, Year.int):void

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here