Where will the object be created in java
This question already has an answer here:
For the Oracle JVM, there is a special object for each class to hold it's static fields. You can see this special object if you do a heap dump.
NOTE: There is no specification of where static members are stored, so it could be anywhere based on the JVM.
链接地址: http://www.djcxy.com/p/82886.html下一篇: 在java中将创建对象的位置