Notizen aus Lernsessions

This commit is contained in:
2019-10-27 22:03:30 +01:00
parent 35cb084a48
commit 526d2897d1
3 changed files with 10 additions and 0 deletions

3
.gitignore vendored
View File

@@ -77,3 +77,6 @@ fabric.properties
/.idea/modules.xml
/.idea/oca8-lernen.iml
/.idea/vcs.xml
/.idea/codeStyles/codeStyleConfig.xml
/.idea/codeStyles/Project.xml
/.idea/sbt.xml

View File

@@ -8,7 +8,9 @@ public class InterfaceWithFields implements T1, T2 {
return VALUE_T1;
}
@Override
public int getValue() {
T2.super.getValue();
return T2.VALUE;
}
}

View File

@@ -73,6 +73,11 @@ class SubOverloading extends Overloading {
private String overrideMe(ArrayList list) {
return "Subtyp geht nicht";
}
@Override
public void overloadMe(List list) {
}
}