Summary

Let's summarize the concepts covered in this chapter.

We'll cover the following

Chapter summary

Let’s summarize this chapter:

  • interface is similar to a class that consists only of abstract functions. interface can have static member variables and static or final member functions.

  • For a class to be constructible, it must have implementations for all member functions of all interfaces that it inherits from.

  • It is possible to inherit from an unlimited number of interfaces.

  • A common hierarchy consists of a single interface and a number of subclasses that implement that interface.

Get hands-on with 1400+ tech skills courses.