Summary

Let’s summarize concepts learned in this chapter.

We'll cover the following

Chapter summary

Let’s summarize this chapter:

  • Inheritance is used for the “is a” relationship.

  • Every class can inherit from up to one class.

  • super has two uses: Calling the constructor of the superclass and accessing the members of the superclass.

  • override is for redefining member functions of the superclass, especially for the subclass.

  • abstract requires that a member function must be overridden.

Get hands-on with 1000+ tech skills courses.