Why the static member of the Test class in c++ is breaking encapsulation rules?

前端 未结 0 405
北恋
北恋 2020-12-07 00:53

In the following code i have declared a test class and a static member of same type (t1) but how its data members are accessible by . operator

class Test{
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题