IT 117: Intermediate Scripting
Class 23

Review


New Material


Microphone

Questions

Are there any questions before I begin?

Quiz 8

Let's look at the answers to Quiz 8.

Solution to Homework 9

I have posted a solution to homework 9 here.

Let's take a look.

Review

Inheritance

Principles of Inheritance

An Example of Inheritance

The Video Class

The Video Constructor

Validation Methods for Video

Static Methods

Calculating the Collection Number

Writing he Video Constructor

Video Accessors

The __str__ Method

Attendance

New Material

The Movie Subclass

Creating a Subclass

Creating a Constructor for a Subclass

Movie Accessor Methods

The add_actor Method

A __str__ Method for Movie

The super Function

Creating Derived Objects

The Instructional Class

The Instructional Constructor

The get_name Method for Instructional

The __str__ Method for Instructional

Mutator for the Instructional Class

Accessors for the Instructional Class

The isinstance Function

Polymorphism

An Example of Polymorphism in Pygame

Three Principles of Object-Oriented Programming

Fairness

Class Exercise

Class Quiz