随笔分类 -  JavaSE---Object

Object类型编译基本类型
摘要:byte&short&int Object a = 1; // 字节码 0 iconst_1 1 invokestatic #2 <java/lang/Integer.valueOf> 4 astore_1 5 return Object a = 127; // 字节码 0 bipush 127 2 阅读全文

posted @ 2024-08-28 17:29 anpeiyong 阅读(15) 评论(0) 推荐(0)

Object---clone方法
摘要:概述 java.lang.Object#clone By convention, the returned object should be obtained by calling {@code super.clone}. If a class and all of its superclasses 阅读全文

posted @ 2023-12-12 17:38 anpeiyong 阅读(27) 评论(0) 推荐(0)

导航