Yi Li bio photo

Yi Li

Associate Professor

School of Computer Science and Engineering (SCSE)
Nanyang Technological University (NTU)

Address: Block N4-02b-63
50 Nanyang Avenue, Singapore 639798
Phone: +65 6790 4287

Email Twitter LinkedIn GitHub Bitbucket Google Scholar ORCID

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.

Tutorial 9 (Week 12)