1 2 3 4 5 6
public class Hello { public static void main(String[] args) { System.out.println("hello world"); if (args.length > 1) throw new Error("e"); } }