GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaBooks/Jvm/src/T2.java at master · a-guang/JavaBooks Expand file tree/ Copy pathT2.javaMore file actions 17 lines (16 loc) · 429 Bytes / Copy pathT2.javaFile metadata and controls17 lines (16 loc) · 429 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 /** * @program JavaBooks * @description: 引用计数的循环引用问题 * @author: mf * @create: 2020/01/19 12:53 */ public class T2 { public static void main(String[] args) { Object object1 = new Object(); Object object2 = new Object(); object1 = object2; // obj1 引用obj2 object2 = object1; // obj2 引用obj1 循环引用 object1 = null; object2 = null; } } |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |