Verified Commit c21b7b8d authored by Jonas Sulzer's avatar Jonas Sulzer 馃帗
Browse files

馃憣 IMPROVE: correct errors



Signed-off-by: Jonas Sulzer's avatarJonas Sulzer <jonas@violoncello.ch>
parent bde41fe7
......@@ -51,12 +51,12 @@ class ABCDEF {
F f = new F();
a = b;
b = a;
// b = a; // Incorrect because b is of type B and inherits from A, not the other way around
a = (A) b;
a = null;
null = a;
// null = a; // it's not possible to assign a value to null
a = d;
b = d;
// b = d; // D inherits from B, not the other way around
a = e;
d = e;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment