aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs187/469889/Code.java
blob: 1319ecfa2439fea12afa1e54f8df2a6158811563 (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
interface A<T> {
	T getValue();
}


/*
abstract class AbstractA<T> implements A<T> {
}
*/

interface B extends A<String> {
	@Override
	default String getValue() {
		return "B";
	}
}


/*
class BImpl extends AbstractA<String> implements B {

}

public class Code {
	public static void main(final String[] args) {
		final A<String> object1 = new BImpl();
		System.out.println(object1.getValue());
	}
}

*/