0

What are the benefits of a private class ?

3rd Jul 2016, 4:11 AM
Kritika
3 Respuestas
+ 1
u can restrict variable access to define class only. more using friend u can give access of private variable to other.
3rd Jul 2016, 6:17 AM
VISHAL PRAJAPATI
VISHAL PRAJAPATI - avatar
0
You can read C++ PRIMER Access Control and Encapsulation
3rd Jul 2016, 4:37 AM
CWB
0
None
5th Jul 2016, 7:41 AM
Mihai Dancaescu
Mihai Dancaescu - avatar