summaryrefslogtreecommitdiffstats
path: root/tests/068-classloader/src-ex/DoubledExtend.java
blob: 6ad2708b11eaa23653b469d3735a1842071e3605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2008 The Android Open Source Project

/**
 * Doubled sub-class, form #2.
 */
public class DoubledExtend extends Base {
    public DoubledExtend() {
        //System.out.println("Ctor: doubled extend, type 2");
    }

    @Override
    public DoubledExtend getExtended() {
        //System.out.println("getExtended 2");
        return new DoubledExtend();
    }

    public String getStr() {
        return "DoubledExtend 2";
    }
}