1、从下面列表中选取3个合法的标识符
A. IDoLikeTheLongNameClass
B. $byte
C. const
D. _ok
E. 3_case
(a b d)
2、如何对一个对象进行强制垃圾回收 How can you force garbage collection of an object?
A. 不能强制进行垃圾回收 Garbage collection cannot be forced
B. 调用 System.gc().
C. 传递要进行垃圾回收的对象的引用作为参数,调用 System.gc()
D. 调用 Runtime.gc()[x1] .
E. 设置所有对该对象的引用到一个新值(如null).
(b,e)
3、考虑下面的类
public class test {