- Exercise

Let's answer these questions to better understand virtual methods.

We'll cover the following

Try it out #

When a virtual method is invoked through a pointer or a reference to an object, late binding occurs.

Answer the following questions.

  • Which phenomena happens with early binding?
  • What’s the name of the phenomena?
  • Why do we have early binding in C++?

Get hands-on with 1400+ tech skills courses.