ANKO Code Academy
AI-Native Coding Learning Platform
Courses
Labs
Discussions
quiz
Classes and Inheritance Quiz
Question 1 of 10
Score: 0/10
What is the difference between 'private' and 'protected' access modifiers?
There is no difference
Private is accessible in subclasses, protected is not
Protected is accessible in subclasses, private is not
Both are accessible everywhere
Check Answer
Previous
Next Topic