Program to check given year is a leap year or not in java

Let’s see a¬†program to check given year is a leap year or not in java

 

Output is :-

Enter a year
2003
Given year is not a leap year

Top