CMSC 202 Computer Science II, Fall 2015, Section 06

Lecture 19: Polymorphism

Thu 11/05, 2015

[Up] [Previous Lecture] [Next Lecture]


Assigned Reading:  15.1-15.2


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: 13 Jan 2016 16:07:38 EST