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

/**
 * Doubled sub-class, form #2.
 */
public class DoubledImplement implements ICommon {
    public DoubledImplement() {
        System.out.println("Ctor: doubled implement, type 2");
    }

    public DoubledImplement getDoubledInstance() {
        return new DoubledImplement();
    }

    public void two() {
        System.out.println("DoubledImplement two");
    }
}