Using default implementation in class is right? I can compile this program. (Revision of javac is 1244) public class Main { public static void main(String[] args) default { new Main().invoke(); } public void invoke() default { System.out.println("Hello World"); } } Is this right? I have thought this is wrong... Thanks. bitter_fox