Programming - Garbage Collections
You Are Here :: Home > JAVA > Garbage Collections - Jdbc
1.
The ___________ heap stores all objects created by an execution java program.
A.
JIT
B.
JVM
C.
JSP
D.
Servlet
Answer: Option B
Explanation:
JVM's heap stores all objects.
2.
The name _________ implies that objects that are no longer needed by the program are garbage and can be thrown away.
A.
Garbage Collection
B.
Collection
C.
Structure
D.
Heap Area
Answer: Option A
Explanation:
It is nothing but the garbage collection.
3.
_____________ relieves programmers from the burde of freeing allocated memory.
A.
Garbage Collection
B.
Collection
C.
Structure
D.
Heap Area
Answer: Option A
Explanation:
Garbage Collections itself relieves programmers from the burden of freeing allocated memory.
4.
To ensure program integrity ________________ will helps
A.
Garbage Collection
B.
Collection
C.
Structure
D.
Heap Area
Answer: Option A
Explanation:
To ensure program integrity Garbage Collection will helps
5.
_______________can be optimized to reduce the number of times reference count fields have to be updated and to reduce the size of the reference count field.
A.
Reference counting
B.
counting
C.
reference variable
D.
reference class
Answer: Option A
Explanation:
Reference counting is used to reduced the number of times reference count fields have to be updated.
6.
How many kinds of tracing algorithms are there?
A.
1
B.
2
C.
3
D.
more than 5
Answer: Option B
Explanation:
There are two kinds of tracing algorithms:mark and sweep and copying.
next »