作用域操作符::如何使用?都在哪些场合下使用?

版权声明:原创请注明出处 https://blog.csdn.net/weixin_37657720/article/details/87809007

(1)调用类常量

(2)调用静态方法(使用static修饰的类方法

猜你喜欢

转载自blog.csdn.net/weixin_37657720/article/details/87809007