73,017 views 140 on YTPak
418 38

Published on 23 Nov 2014 | over 3 years ago

Code available at github.com/Julian-Miller/OOP/ .

The word polymorph literally means "many forms". In software development, polymorphism allows us to use a common interface to perform different tasks. This means we can dynamically (i.e. at runtime through user input, files, etc.) change what our code does, without using large numbers of 'if' statements.

In this video I use initializer lists in the class constructors, which I haven't used in previous videos. I wanted to point out that this is just another (preferred) way to initialize a class' members, as opposed to assigning them in the constructor's body.

Twitter: twitter.com/swiftflux

Do you like video games? Check out this awesome streamer:
Twitch: www.twitch.tv/not_jenn
Twitter: twitter.com/not__jenn
Customize Your Hybrid Embed Video Player!

6-digit hexadecimal color code without # symbol.


Report video function is under development.


Loading related videos...