1
vote
Explaining access levels and visibility in OOP
This year, I used the example of student grades that seemed to work pretty well (C++):
The Student class has a private _grade.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
java × 60self-learning × 9
programming × 9
object-oriented-paradigm × 9
ap-computer-science-a × 9
secondary-education × 8
resource-request × 5
teaching-analogy × 5
curriculum-design × 4
undergraduate × 4
textbook × 4
algorithms × 3
project × 3
exercises × 3
data-structure × 3
language-choice × 3
c × 3
lesson-ideas × 2
introductory-lesson × 2
grading × 2
python × 2
labs × 2
c++ × 2
resource-information × 2
looping × 2