Java Program to check Leap Year

Example 1:



Output :

 Enter any Year: 
 2001
 2001 is not a Leap Year.