Which statements about the garbage collection are true?() 

题目
单选题
Which statements about the garbage collection are true?()
A

 The program developer must create a thread to be responsible for free the memory.

B

 The garbage collection will check for and free memory no longer needed.

C

 The garbage collection allow the program developer to explicity and immediately free the memory.

D

 The garbage collection can free the memory used java object at expect time.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which of the following statements about language is NOT true?

A.Language is a system
B.Language is symbol
C.Animals also have language
D.Language is arbitrary

答案:C
解析:
本题考查语言的定义。
本题要求选不正确的,C选项,动物也有语言,错误。语言是人类在交际中使用的一套任意的声音符号系统。动物没有语言,动物只是本能发出声音。综上,应选C。
A选项,系统的,故排除。
B选项,符号,故排除。
D选项,任意的,故排除。
故正确答案为C项。

第2题:

Which two statements are true about L2TP tunnels?() (Choose two.)

  • A、Traffic is clear text
  • B、Traffic is encrypted 
  • C、They are initiated by the LNS
  • D、They are initiated by the LAC

正确答案:A,D

第3题:

Which of the following statements about Leopold and Rudolph Blaschka is TRUE?

A. They were brothers.

B. They were artists.

C. They were florists.

D. They were farmers.


正确答案:B

32.答案为B。根据第一段最后一句,the work of two artists-naturalists,Leopold Blaschka and his son Rudolph作出该项选择。

第4题:

Which of the following statements is true about a router's eBGP peers that is not  also true about that same router's iBGP peers?()

  • A、The eBGP peer neighborship uses TCP
  • B、The eBGP peer uses port 180 (default)
  • C、The eBGP peer uses the same ASN as the local router
  • D、The eBGP peer updates its AS_Path PA before sending updates to  this router

正确答案:D

第5题:

Which statement is true about XpauseTarget in Oracle JRockit JVM ? ()

  • A、 This option is supported by all type of Garbage collection modes.
  • B、 This option is only supported by Generational Garbage Collection mode.
  • C、 This option is only supported by Mark and Sweep Garbage Collection mode.
  • D、 This option is only supported by Dynamic Garbage Collection mode.

正确答案:D

第6题:

1. class TestA {  2. TestB b;  3. TestA() {  4. b = new TestB(this);  5. }  6. }  7. class TestB {  8. TestA a;  9. TestB(TestA a) {  10. this.a = a;  11. }  12. }  13. class TestAll {  14. public static void main (String args[]) {  15. new TestAll().makeThings(); 16. // ...code continues on  17. }  18. void makeThings() {  19. TestA test = new TestA(); 20. }  21. }  Which two statements are true after line 15, before main completes?()

  • A、 Line 15 causes a stack overflow.
  • B、 An exception is thrown at runtime.
  • C、 The object referenced by a is eligible for garbage collection.
  • D、 The object referenced by b is eligible for garbage collection.
  • E、 The object referenced by a is not eligible for garbage collection.
  • F、 The object referenced by b is not eligible for garbage collection.

正确答案:C,D

第7题:

Which statements describe guaranteed behavior of the garbage collection and finalization mechanisms?()  

  • 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.

正确答案:C,D

第8题:

Which of the following statements are true of collectivist culture?

A、Disclosure of private feeling is distasteful.

B、People are suspicious of outsiders.

C、Uniformity is not highly thought of.

D、there is a positive attitude about words of disagreement.


参考答案:B

第9题:

Which two statements about the Cisco Nexus 1000V VSM are true?()

  • A、It performs switching decisions and forwarding for the VEM
  • B、It can be run on a virtual machine
  • C、It can be used for remote VEM switching Iine cards

正确答案:B,C

第10题:

Which statements about the garbage collection are true?() 

  • A、 The program developer must create a thread to be responsible for free the memory.
  • B、 The garbage collection will check for and free memory no longer needed.
  • C、 The garbage collection allow the program developer to explicity and immediately free the memory.
  • D、 The garbage collection can free the memory used java object at expect time.

正确答案:B

更多相关问题