1 2 3 4 5 6 7 8 9 10
public class InnerFlow { static public void main(String[] params) { final Object o = new Interface() { public void m() { o.toString(); //ERR: o not initialized }}; ((Interface) o).m(); // no exceptions } } interface Interface { void m();}