Notizen aus Lernsessions
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -77,3 +77,6 @@ fabric.properties
|
|||||||
/.idea/modules.xml
|
/.idea/modules.xml
|
||||||
/.idea/oca8-lernen.iml
|
/.idea/oca8-lernen.iml
|
||||||
/.idea/vcs.xml
|
/.idea/vcs.xml
|
||||||
|
/.idea/codeStyles/codeStyleConfig.xml
|
||||||
|
/.idea/codeStyles/Project.xml
|
||||||
|
/.idea/sbt.xml
|
||||||
|
|||||||
@@ -8,7 +8,9 @@ public class InterfaceWithFields implements T1, T2 {
|
|||||||
return VALUE_T1;
|
return VALUE_T1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getValue() {
|
public int getValue() {
|
||||||
|
T2.super.getValue();
|
||||||
return T2.VALUE;
|
return T2.VALUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,6 +73,11 @@ class SubOverloading extends Overloading {
|
|||||||
private String overrideMe(ArrayList list) {
|
private String overrideMe(ArrayList list) {
|
||||||
return "Subtyp geht nicht";
|
return "Subtyp geht nicht";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void overloadMe(List list) {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user