Live2D
小白和熊猫
small panda

静态变量和实例变量的区别?

静态变量存储在方法区,属于类所有。实例变量存储在堆当中,其引用存在当前线程栈。

posted on 2019-03-03 17:21  小白和熊猫  阅读(469)  评论(0)    收藏  举报