/* test various system entry points */ public class mainer { public static void main(String [] args) { int w = foo(); mainer x = new mainer(); System.out.println("done."); } private static int callnum = 0; public static int x = foo(); public static int z; static { z = foo(); } public int y = foo(); public static inline int foo() { callnum++; System.out.println("call " + callnum); return callnum; } }