09 2021 档案

摘要:1 public class PersonTest { 2 public static void main(String[] args){ 3 Person person = new Person("大火",18); 4 person.show(); 5 } 6 } 7 8 class Person 阅读全文
posted @ 2021-09-30 20:29 十七筱 阅读(848) 评论(0) 推荐(0)
摘要:关于引用变量的内存,如果该引用变量定义在方法内,那么该引用变量就存储在方法所在的栈空间内 1 public class ArrTest{ 2 3 public static void main(String[] args){ 4 int[] arr1 = new int[] {10,20,30}; 阅读全文
posted @ 2021-09-30 17:51 十七筱 阅读(242) 评论(0) 推荐(0)