B4Coder
0%
LessonAbout 7 min

Chapter 8 · Lesson 2 of 5

02. Classes: public and private

A class bundles data with the functions that use it. Keep the data private, so only the class's own functions can change it.

Opening the lesson…