int f2;
public inner() {
- /*super.*/outer=31;
+ super.outer=31;
}
public static void main(String x[]) {
public void print() {
//should print 4 0 35
- System.out.println("Inner class print: ");
+ System.out.println("\t Inner class print: ");
System.out.println(outer);
- //System.out.println(super.outer);
+ System.out.println(super.outer);
System.out.println(inner.this.outer);
- //System.out.println(inner.super.outer);
+ System.out.println(inner.super.outer);
System.out.println(f1);
System.out.println(f2);
System.out.println(f3);
}
}
-}
\ No newline at end of file
+}