Lecture

Introduction to Object-Oriented Programming in C++

Description

This lecture covers the concepts of overloading, shadowing, and overriding in C++. It explains the differences between these concepts and how they apply to virtual methods. Examples are provided to illustrate these concepts in practice, including the use of the 'override' and 'final' keywords introduced in C++11 to clarify the programmer's intentions. The lecture also demonstrates how these concepts work in a class hierarchy, emphasizing the importance of method resolution and potential issues that may arise.

About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.