多项选择题
A.Objects are deleted when they can no longer be accessed through any reference.
B.The finalize() method will eventually be called on every object.
C.The finalize() method will never be called more than once on an object.
D.An object will not be garbage collected as long as it is possible for an active part of the program to access it through a reference.
E.The garbage collector will use a mark and sweep algorithm.
多项选择题 Whichstatementsconcerningthevalueofamembervariablearetrue,whennoexplicitassignmentshavebeenmade?()
多项选择题 Which statements concerning the relationships between the following classes are true?() class Foo { int num; Baz comp = new Baz(); } class Bar { boolean flag; } class Baz extends Foo { Bar thing = new Bar(); double limit; }
多项选择题 Giventwocollectionobjectsreferencedbycol1andcol2,whichofthesestatementsaretrue?()