Main is varargsable

It's cute, although I admit there isn't much utility in it:
public class Hello {
    public static void main(String... args) {
        System.out.println("yippee!");
    }
}

1 comment:

Matt Drees said...

It can make your tests for your Main classes prettier. I discovered this while looking through the H2 Database testsuite.