blob: 762dcdaba2d4b3f04a94d467dc52cc5056e50b1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
package test.misc.en;
class Foo {
public Foo() {}
public Foo(String test) {}
private void foo() {
System.out.println("qwe");
}
static class Bar extends Foo {
void bar() {
System.out.println("1");
//((Foo)this).foo();
}
}
static class Bar1 extends Bar {
void bar() {
super.bar();
//System.out.println("2");
//((Foo)this).foo();
}
}
static class Bar2 extends Bar1 {
void bar1() {
super.bar();
}
}
public static void main(String[] args) {
new Bar2().bar();
}
public int testfin() {
int i;
try {
System.out.println();
i = 0;
} finally {
System.out.println();
}
return i;
}
}
|