Answers for "Check if the year is a leap year or not in java gfg"

0

java check if year is leap

boolean isLeap =  new GregorianCalendar().isLeapYear(2020);
      //returns true
Posted by: Guest on February-21-2021

Code answers related to "Check if the year is a leap year or not in java gfg"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language