if(a%4==0&&a%100!=0){system.out.println("闰年。")}else if(a%400==0){system.out.println("闰年。")}esle{system.out.println("不是闰年。")}