Programming - Garbage Collections

You Are Here :: Home > JAVA > Garbage Collections - Jdbc

 
7.

The copying algorithm uses a heap divided into halves called ________________                        


A. semi-spaces B. spaces
C. logarithms D. solutions




8.

If you want to make your object eligible for Garbage Collection , assign its reference variable to __________________.                        


A. zero B. one
C. both a and b D. null




9.

Primitive types are not objects. They cannot be assigned _____________________.                        


A. zero B. one
C. both a and b D. null




10.

In Java,__________________________ happens automatically during the lifetime of a java program, eliminating the need to de-allocate memory and avoiding memory leaks.                        


A. Garbage Collection B. Heap Area
C. Static methods D. Struts




11.

All objects are created in __________ Section of memory.                        


A. Heap B. Stack
C. both a and b D. none




« prev

1

2

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on