Java Calender

I need help with this project. I’m supposed to make a code that allows users to type in a month and a year, but the project wants me to let the users know the number of days in that month, and if they pick February on a leap year to let them know it has 29 days instead of the usual 28 days. How would I do that in Java?

The same question was already asked a few days ago: I am confused about how to do this in Java

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.