Java Program to Check Leap Year

preview_player
Показать описание

Source Code:

public class LeapYear {

public static void main(String[] args) {
if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0)
else
}
}
Рекомендации по теме