Programming Example
Write a Java program to find out whether a year (entered in 4-digit number representing it) is a leap year.
Study this program carefully to understand the logic, output, and explanation in a structured way.