Can {f, h} ever be in an MST? Prove it:


Commit: 8ad67fb0 - mama ich bin im anki 🥹
Author: lhorva <lhorva@student.ethz.ch>
Date: 2026-01-28T04:17:30+01:00
Changes: 14 note(s) changed (0 added, 14 modified, 0 deleted)
ℹ️ Cosmetic Changes Hidden: 6 note(s) had formatting-only changes and are not shown below • 6 mixed cosmetic changes
MFFs/r0>#}




| Field | Before | After |
|---|---|---|
| Front | Can |
Can (g, h) ever be in an MST? Prove it:<br><img src="paste-0451663ce9f1137e81a00020ee38fb0a96908565.jpg"> |
IKMb!{98`




| Field | Before | After |
|---|---|---|
| Back | Valid for |
Valid for-loop. |
K]ZyP_vxG;
| Field | Before | After |
|---|---|---|
| Text | Inside a class (except static functions) we have access to special variable {{c1:: |
Inside a class (except static functions) we have access to special variable {{c1::<b>this</b> and <b>super</b>}}. |
Nz^YQRPVQ2
| Field | Before | After |
|---|---|---|
| Text | Properties of classes |
Properties of classes declared as <b>public int x;</b> are set to {{c1::their default values (0, null, false, etc...)}}. |
dW?TP?RI{A
| Field | Before | After |
|---|---|---|
| Text | The dynamic |
The dynamic type of a variable can be changed by {{c1:: reassigning the reference to another instance}}. |
fx//I5}Q?7
(Husky) dog;: Casting further down than dynamic type (Cat) dog; : Casting into sibling type (Husky) dog;: Casting further down than dynamic type (Cat) dog; : Casting into sibling type(Husky) dog; Casting further down than dynamic type (Cat) dog; Casting into sibling type(Husky) dog; Casting further down than dynamic type (Cat) dog; Casting into sibling type| Field | Before | After |
|---|---|---|
| Text | Runtime Errors for Casting:<br><ol>
<li><code>{{c1:: |
Runtime Errors for Casting:<br><ol> <li><code>{{c1::(Husky) dog; </code>Casting further down than dynamic type}}</li> <li><code>{{c2:: (Cat) dog;</code> Casting into sibling type}}</li></ol> |
g%YZ@`35DU
| Field | Before | After |
|---|---|---|
| Extra | <ul><li>protected -> public is okay</li><li>private -> public okay</li></ul><div>public to default or default to private are not.</div> | <ul><li>protected -> public is okay</li><li>private -> public okay</li></ul><div>public to default or default to private are not possible.</div> |
osPOmm:i4.




| Field | Before | After |
|---|---|---|
| Back | No error, valid for |
No error, valid for-loop. |