Access Modifiers Practice
Task
Swipe to start coding
Your goal is to ensure proper access control for class members.
- Assign appropriate access modifiers to the specified members of a
class
. - Ensure that the class members are correctly categorized as either
public
,private
, orprotected
.
Solution
solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 3