去掉从网上复制到word的白底
2012-07-18 09:24
169 查看
student
/** * @(#) Student.java Created on 2013-5-30 * * Copyright © 2013 */ package com.braver.test; /** * The class <code>Student</code> * * @author Feng OuYang * @version 1.0 */ public class Student { String name; int age; static Student student; /** * @param name * @param age */ public Student(String name, int age) { System.out.println("Student " + this); this.name = name; this.age = age; } /** * @param student the student to set */ public void setStudent(Student s) { student = s; } /** * @return the student */ public Student getStudent() { return student; } /* * (non-Javadoc) * * @see java.lang.Object#finalize() */ @Override protected void finalize() throws Throwable { System.out.println("finalize " + this + " this.student:" + this.student); super.finalize(); } }
/** * @(#) ObjectTest.java Created on 2013-5-30 * * Copyright © 2013 */ package com.braver.test; /** * The class <code>ObjectTest</code> * * @author Feng OuYang * @version 1.0 */ public class ObjectTest { /** * @param args * @throws InterruptedException */ public static void main(String[] args) throws InterruptedException { Student student = new Student("name", 18); Student student2 = new Student("name", 18); student.setStudent(student2); student2 = null; int i = 0; while (true) { System.gc(); if(i==999){ System.out.println(student.getStudent().name); student = null; } i++; } } }
相关文章推荐
- 复制或下载的文字粘贴到WORD中有底色,如何去掉?
- [No000051]如何去掉word复制过来的文字背景色?
- word文档去掉复制过来的背景颜色
- PDF里面复制出来的文章,在word里去掉回车符
- WORD文档中,如何去掉复制网页中的换行符
- 在Word中把复制文章每段后面带的向下箭头去掉
- 如何去掉/消除网页复制粘贴后带到word或WPS文档中的浅灰色背景
- 网上复制的代码如何去掉编号
- 如何去掉网页复制到word后的黑(或灰)背景色
- 怎么去掉网页上复制到word的文章中各种符号例如向下箭头(↓)?
- word 中如何去掉复制的文字的底纹?
- 网上复制文本在 Word 中空行的处理及部分字符
- 去掉word中的波浪线
- C# 如何将Excel表格复制到Word中并保留格式
- 如何在word中对在论文标题添加脚注,并且去掉脚注的编号
- EditText去掉复制粘贴的功能
- 如何将word中的图片复制到windows live writer 保持大小不变--清晰度不变
- 用Python复制Word内容并使用格式设字体与大小
- 如何清除word复制过来的文字背景色的好方法?
- ToDoList如何从Word或者写字板复制任务列表进来