How to check if given year is a leap year or not in Java - The Coding Shala
Home >> Java Program >> check leap year
In this post, we will learn how to check if a given year is a leap year or not. We will write a Java Program to check leap year.
Java Program to check leap year
Leap years are those years in which the year's number is either divisible by 4 but not divisible by 100 or divisible by 400.
Other Posts You May Like
- Java Program to add two numbers
- Java Program to find the sum of digits of a number
- Two Sum Problem
- Plus One
- Pascal Triangle