cs246-s11-001-july5

cs246-s11-001-july5 - CS 246 (Spring 2011) Section 1...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 246 (Spring 2011) – Section 1 Tuesday 5 July Inheritance
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS 246 (Spring 2011) - Section 001 - Tuesday 5 July 2 Today's Agenda Review of your midterm comments Tip for A4, Question 3 (random numbers) UML diagram in course notes Inheritance ideas from last week Copy constructor/assignment Overloading Virtual routines and downcasting Abstract classes
Background image of page 2
CS 246 (Spring 2011) - Section 001 - Tuesday 5 July 3 Assignment 4, Question 3 Tips regarding random numbers
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS 246 (Spring 2011) - Section 001 - Tuesday 5 July 4 UML diagram in course notes What do all of the parts mean?
Background image of page 4
CS 246 (Spring 2011) - Section 001 - Tuesday 5 July 5 Inheritance ideas from last week UML diagram on board An example of polymorphism ? What are the similarities and differences? Association Inheritance What do these terms mean? Base type Derived type Constructors and destructors ElectronicGame e;
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS 246 (Spring 2011) - Section 001 - Tuesday 5 July 6 Inheritance ideas (ctd.) What should the constructor for BoardGame look like if we want to initialize Game members? BoardGame b1(“Set”, 4, 19.99, 8);
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/08/2011 for the course CS 246 taught by Professor Wormer during the Spring '08 term at Waterloo.

Page1 / 14

cs246-s11-001-july5 - CS 246 (Spring 2011) Section 1...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online