摘要: this的概念: this保存当前对象的内存地址,指向自身; this保存在堆内存的对象中; this用来访问实例变量 ,表示当前对象,所以this不使用于静态方法中,可以省略; public class ThisTest02{ public static void main(String[] ar 阅读全文
posted @ 2020-12-27 22:52 homle 阅读(303) 评论(0) 推荐(0) 编辑