+ 3

Difference - private & protected class members

what r the differences between private class and protected class ...

7th Mar 2017, 6:00 AM
nabeer zahed chowdhury
nabeer zahed chowdhury - avatar
2 Réponses
+ 9
Private objects can be accessed only by that class. Protected objects can be accessed by that class and it's derived classes.
7th Mar 2017, 6:04 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
thanks :)
7th Mar 2017, 3:22 PM
nabeer zahed chowdhury
nabeer zahed chowdhury - avatar