allgemein:
void h (int z) { class C { ... } }
Wie wird das implementiert (wo ist das Problem)?
interface I { void p (int x); } void h (int z) { final int a = 4 + z; class C implements I { void p (int x) { System.out.println (a + x); } } return new C (); } void check () { I b = h (5); b.p (3); }