- Exercises
Let's solve a few exercises around CRTP in this lesson.
We'll cover the following...
Problem Statement 1
Extend the given piece of code with a
Person
class. A Person
should have a
- first name
- last name
You need to create two objects of the Person
class and compare these objects using relational operators.
Access this course and 1400+ top-rated courses and projects.