diff --git a/Aufpassen%21.md b/Aufpassen%21.md index 007caad..a166d18 100644 --- a/Aufpassen%21.md +++ b/Aufpassen%21.md @@ -255,4 +255,7 @@ Trowable (Checked) Short short2 = 127; Short short3 = 128; Short short4 = 128; assertTrue(short1 == short2); assertFalse(short3 == short4);`` - Immutable - == zwischen Wrapper und Primitivem: Wrapper wird ausgepackt, beide Primitive verglichen! -- **Methodensichtbarkeit**: ``private final`` erlaubt (aber sinnlos) \ No newline at end of file +- **Methodensichtbarkeit**: ``private final`` erlaubt (aber sinnlos) +- **static-Sichtbarkeit**: + - Statische Methoden nicht vererbt, aber in Subklasse sichtbar + - Es darf keine sonst gleiche, nichtstatische definiert werden \ No newline at end of file