/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package qucikprogs; /** * * @author LH */ public class QucikProgs { /** * @param args the command line arguments */ public static void main(String[] args) { int year=104; boolean is_leap=(!(year%100==0&& !(year%400==0))&&year%4==0); System.out.println(is_leap); } }