summaryrefslogtreecommitdiff
path: root/output/ex17.java
blob: 36b4cc73bfdac02ecb690e6c87784d7041fe578f (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
class RecursiveExtends //Class_extends_boolean
{
    public static void main(String[] a){
        System.out.println(new test1().methodInTest());
    }
}

class test1
{
    int a;

    public int methodInTest()
    {
        return 1;
    }
}

class test2 extends test6
{
}

class test3
{
}

class test4 extends test3
{
}

class test5 extends test4
{
}

class test6 extends test5
{
}