Question: java programing 1) A class called DateOOP.java that does the following: 3 fields/attributes of type integer to represent year, month and day Add getters and

java programing

1) A class called DateOOP.java that does the following: 3 fields/attributes of type integer to represent year, month and day Add getters and setters for these attributes Add a method that determines if a string representing the date mm-dd-yyyy is valid or not, where 1 <= mm <= 12, 1 <= dd <=31, 0 < yyyy (Assume all months have 31 days for this purpose). Test with the following data 10-11-2005, 13-7-1757, 4-7-1786, 9-37-1998 Add another method that determines if a string representing the date mm-dd-yyyy is before or after 1-20-2020. Test with the following data 3-20-2016, 10-11-20228, 1-1-1998

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!