CSE logo University of Washington Computer Science & Engineering
 CSE333 -- Systems Programming
  CSE Home   About Us    Search    Contact Info 

Course Home
 Home
Administration
 Overview
 Course email
 Anonymous feedback
Assignments
 Home Virtual Machines
 Homework Dropbox
 Class GoPost Forum
 Class Gradebook
Schedule
 Schedule
   

Section 06, 5/5/11

Lecture Material

Section slides: PDF

The code from section, commented:

Notable questions from section

  • What happens if a base class B doesn't declare a method m as virtual, but a subclass S redeclares it as virtual? Basically, calling a method through any pointer or reference of any subtypes of S will do dynamic dispatch (treat the method as virtual, Java style), but any calls through a name of type B will perform static dispatch (always directly call B.m). See UltraManager.cc for an example.


CSE logo Computer Science & Engineering
University of Washington
Box 352350
Seattle, WA  98195-2350
(206) 543-1695 voice, (206) 543-2969 FAX
[ comments to gribble ]