Tutorial 5 (Week 8)
Correction (Q2b.i at 23’10’’): I said “ClassC” is used for the print method, and it should be “ClassD” instead.
ClassC = new ClassD(); // upcast — ok
c.print("hello", "there"); // ok, ClassD is used
Tutorial 6 (Week 9)
Tutorial 7 (Week 10)
Tutorial 8 (Week 11)
E-learning tutorial: study materials will be available on NTULearn.