Compile Errors and need to add a second static
I am having some compile errors and I was wondering if anyone could point me in the right direction here.
Here is my code
public class Lab
public static void main (String  args)
public static final boolean isLeapYear ( short yyyy )
if ( yyyy % 4 != 0 ) return false;
if ( yyyy % 100 != 0 ) return true;
if ( yyyy % 400 != 0 ) return false;
if ( yyyy % 3200 != 0 ) return true;
while (decision ==0)
System.out.print("Please enter the desired year - ");
System.out.print("\n "The number of days in + (yyyy) + is 365: ");"
if yyyy is false
else if is true
System.out.print("\n "The number of days in + (yyyy) + is 366 ");"
System.out.print("\nWould you like to continue? ( 0 = Yes ; 1 = No )");
decision = input.nextInt ();
} // End Main
} // End Class Leap Year
Here is what I am trying to reproduce
Please enter the desired year - 2000
The number of days in 2000 is 366
Do you wish to continue ( 0 = No ; 1 = Yes )? - 1
Also if I want to add a second static class that is numberofdays, that will call to the main, any ideas?