Answers for "best way to know if leap year java"

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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language