I have just started out with Java and I am playing around with codes I copied online. I copied this code online and tried to run it on eclipse
http://introcs.cs.princeton.edu/java/12types/SpringSeason.java.html
public class SpringSeason { 
    public static void main(String[] args) { 
        int month = Integer.parseInt(args[0]);
        int day   = Integer.parseInt(args[1]);
        boolean isSpring =  (month == 3 && day >= 20 && day <= 31)
                         || (month == 4 && day >=  1 && day <= 30)
                         || (month == 5 && day >=  1 && day <= 31)
                         || (month == 6 && day >=  1 && day <= 20);
        System.out.println(isSpring);
    }
}
and I keep getting this error on eclipse
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at trollstartwo.main(trollstartwo.java:4)
