0
What is the main difference between private and protected
what is the areas of access of aboves
1 Answer
+ 11
Private objects/methods can only be accessed by the class itself, whereas protected objects/methods can be accessed by the class itself and its derived classes (via inheritance).