I suddenly came up with a question: why is foreign software better than ours? From the design of the C ++ language, we can see why the default access permission of class members is private? There is only one answer, that is, to limit power to the minimum possible range. In the opinion of foreigners, this may not be a deliberate design, but an instinctive practice, because of their culture and system. On the other hand, we are used to maximizing power.CodeYou can often see a large number of virtual functions that can be private but written as public. The most common is the virtual functions of the derived classes. I have seen almost everyone write them as public, just like the base class, generally, we call them through base classes. Therefore, virtual functions of sub-classes can be private in many cases. In fact, we do not do this. We are used to maximizing power.