Write a method to determine year provide as parameter value


Problem

Write a Java method to determine whether a year provided as the parameter value is a leap year.

If it is, return true, otherwise return false.

A year is a leap year if

o It is a multiple of 4 but not a multiple of 100

Or

o It is a multiple of 400

So, for example, 1996 and 2000 are leap years, but 1900, 2002 and 2100 are not.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a method to determine year provide as parameter value
Reference No:- TGS03216019

Expected delivery within 24 Hours