⚡ Build the skills to land top-paying quant jobs. Offer ends in 23d 14h 02m 18s23 days 14 hours 2 minutes 18 seconds.
⚡ Build the skills to land top-paying quant jobs. Offer ends in 23d 14h 02m 18s23 days 14 hours 2 minutes 18 seconds.

Sign in to watch this lesson
Runtime Polymorphism · 4:39
A Smiley is a Circle is a Shape. We watch such an object being built from the base up and torn down from the top, see why deleting it through a Shape pointer needs a virtual destructor, use dynamic_cast to ask what an object really is, and meet two ways a base class quietly cuts an object short: slicing on copy, and indexing an array of Circles through a Shape pointer.