Java or computer science( mostly programming) experts only not for essay writer.

profileSaMsRa@1
MonthDays.dia

#A4# #MonthDays# ## ## #month,year# #int# ## ## #MonthDays# ## ## ## #m# #int# ## ## #y# #int# ## ## #getNumberOfDays# ## #int# ## #MonthDaysDemo# ## ## #main# ## #void# ## #args# #String[]# ## ## ## ## #Start# #Stop# #Declare scanner object myVar o read input.# #Get the user's typed month output "Enter a month (1-12) : " input month Get the user's typed year output "Enter a year:" input year# #Create an instance of the MonthDays class and pass data to constructor# #output the days for m object as: call NumberOfDays of m object format in integer.# #Start# #Initialize the value of days to 0# #if month is equal to 1or 3 or 5 or 7 or 8 or 10 or 12# #if month is equal to 4 or 6 or 9 or 11# #if month is equal to 2# #if (year%4 is equal to 0 AND year%100 is not equal to 0) OR year%400 is equal to 0# #return days# #False# #True# #False# #True# #True# #False# #return days is equal to 31# #return days is equal to 30# #return days is equal to 28# #return days is equal to 29# #MonthDays UML& Flowchart#