Question: write the job which implements that cas Dot -d: Integer -m: Integer -y: Integer -Date(dsinteger meinteger, Integer setDayd:integer):void setmonth(m:integer);vold *set Year (y:integer):void getDay():integer *get Month:Integer

 write the job which implements that cas Dot -d: Integer -m:
Integer -y: Integer -Date(dsinteger meinteger, Integer setDayd:integer):void setmonth(m:integer);vold *set Year (y:integer):void getDay():integer
*get Month:Integer +getYear:Integer A date class is defined by the three attribute

write the job which implements that cas Dot -d: Integer -m: Integer -y: Integer -Date(dsinteger meinteger, Integer setDayd:integer):void setmonth(m:integer);vold *set Year (y:integer):void getDay():integer *get Month:Integer +getYear:Integer A date class is defined by the three attribute values of the day, month and year (d.m.y) defined in the UML diagram There should be a setter and a getter for each attribute Desde Define the method gel ago (2) - ( mm)2165 by the owing tomu Whered2 m2y2 pret current date (current and dimly presents that do perte Witosting class Test with the main metod we need to come Auto method, you need to get the following Loto an object cand today of type Date and so it to 1-1-2002 to the day, and you con object catod birthday of type Date and set it to "5-3-1978 for the day, and Dan object called AhmadAge of Type Ago and then primhe age of Aeon

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!