Java实例化对象的内存分析

 public class Person {
    
    
        int  id;
        int  age;

        public static void main(String args[]){
    
    
                Person p1= new Person();
        }
}

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_31762741/article/details/109900162