Write a Boolean method called leapYear that has an integer parameter representing a year. The method returns true if the year is a leap year and false if it is not. Ayeah is a leap year if it is divisible by 4 unless it is also divisible by 100 then it is not, unless it is divisible by 400 then it is. The year 1960 is a leap yearbut 1900 is not but 1600 is.

 

Doing a similar assignment? Save your time and hire our Genuine Essay Writers to do your task. Get 15% Discount on your 1st order. Use code: FREE15