Why can I access private variables in the copy constructor?
The access modifiers work on class level, and not on object level.That is, two objects of the same class can access each others private members. stackoverflow link
原文地址:http://www.cnblogs.com/dpsincs/p/3720156.html