Change example code

This commit is contained in:
Henri Burau 2021-05-19 17:13:46 +02:00
parent 5544e16d56
commit a698803b82
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ Beschränkt den Wildcard Typen nach unten. Dafür wird das Schlüsselwort ``supe
class IntegerSammler {
public void schreib(List<? super Integer> liste) {
for (int i = 0; i <= 10; i++) {
System.out.println(i);
liste.add(i);
}
}
}