This commit is contained in:
Dmitry Jemerov
2009-09-10 21:54:38 +04:00
parent 9f4d10da95
commit 7980717db9
17 changed files with 10 additions and 4 deletions
@@ -0,0 +1,18 @@
class Test18 {
String str;
static class A {
boolean flag;
private Test18 anObject;
public A(Test18 anObject, boolean flag) {
this.flag = flag;
this.anObject = anObject;
}
void foo() {
System.out.println("str = " + anObject.str);
}
}
}