English, asked by nutansaini98, 1 month ago

Q5.Write method of date class to support the following:-
a. Method for validating that the integer-representing month is between 1 & 12 and checking that the day part of the date objects is within the correct range for a month.
b. Obtaining the next day from a given date.
Write this program in java.

Answers

Answered by abhi302400
5

integer-representing month is between 1 & 12 and checking that the day part of the date objects is within the correct range for a month.

b. Obtaining.

Similar questions