Skip to main content

Practice

Polymorphism and the virtual destructor rule

⭐⭐ intermediate~35 min of coding3 challenges

Abstract shapes with real dispatch, and a challenge that fails without a virtual destructor.

Checking your progress…0%

What you will practice

  1. Abstract shapes with dispatch⭐⭐ intermediate
  2. Prove the virtual destructor⭐⭐ intermediate
  3. override catches the bug⭐⭐ intermediate

Need the concept first? Re-read the lesson.