Курси /
C++ OOP
Initialization List Practice
Завдання
- Rewrite constructor using the initialization list instead of assignment statements in the constructor body.
- Ensure that the order of initialization matches the order of declaration for the class member variables.
Все було зрозуміло?
Секція 2. Розділ 4
Зміст курсу
C++ OOP
C++ OOP
Initialization List Practice
Завдання
- Rewrite constructor using the initialization list instead of assignment statements in the constructor body.
- Ensure that the order of initialization matches the order of declaration for the class member variables.
Все було зрозуміло?
Секція 2. Розділ 4