correct super method hierarchy for multiple inheritance

This commit is contained in:
anna
2013-01-08 13:11:10 +01:00
parent 79e0bf7d4c
commit 5f7a5c98d7
4 changed files with 35 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
interface A
{
abstract String foo();
}
interface B
{
abstract Object foo();
}
class C implements A, B
{
public String foo() {
<selection>return null; //To change body of implemented methods use File | Settings | File Templates.</selection>
}
}