Skip to main content
SWStudyWalks Search

Computer Science / Unit 7   CS 0375 short lesson, about 20 seconds

Polymorphism

Captions available

The idea

Polymorphism means inherited behaviors may perform differently by context — a Dog is an Animal making noise, a Snake is an Animal making noise, and the noises differ.

In practice

One "make noise" command in a game menagerie yields a bark here, a hiss there.

Where people slip

Same behavior name, context-decided performance — that is the point.

Your place on the trail

Every lesson rests on earlier ones and opens later ones. Tap any to jump.

Unlocks

  • Nothing yet depends on this.

Something wrong in this lesson? Flag it  ·  Sources for Computer Science