Skip to main content
summaryrefslogtreecommitdiffstats
blob: 259481451f6e085925091a770823c9990c39c380 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package copyinheritancetests;

public team class SubTeam3 extends SuperTeam3 {
	@Override
	protected class R { /* empty */ }
	void test() {
		R r = new R();
		r.roleMethod1();
		System.out.println("finished");
	}
	public static void main(String [] args) {
		new SubTeam3().test();
	}
}

Back to the top