otherclass.mj 262 Bytes
Newer Older
uwgwb's avatar
uwgwb committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class A {
    public int a() {
        return 42;
    }
}
class B {
    public A a;
}
class C {
    public B a;
}
class D {
    public C a;
}
class E {
    public int a() {
        return new D().a.a.a.a();
    }

    public static void main(String[] args) {}
}