CMSC 202 Computer Science II, Fall 2015, Section 06

Lecture 18: Polymorphism

Thu 10/29, 2015

[Up] [Previous Lecture] [Next Lecture]


Assigned Reading: 


Slides As Shown:


Topics Covered:

  • Discussed compile-time versus run-time binding.

  • Discussed the use of virtual member functions to achieve polymorphism in C++. We discussed in depth exactly how the virtual member function table works. Most of this was done using gdb with diagrams drawn on the white board. (So, get notes from friends.)

    Programs Shown:


    [UMBC] | [CSEE] | [CMSC202] | [CMSC202-06]             Last Modified: 5 Nov 2015 12:50:06 EST