1. |
When is the B object, created in line 3, eligible for garbage collection? |
|||||||
|
2. |
At what point is the Bar object, created on line 6, eligible for garbage collection? |
|||||||
|
3. |
Where will be the most chance of the garbage collector being invoked? |
|||||||
|
4. |
When is the Demo object eligible for garbage collection? |
|||||||
|
5. |
After line 8 runs. how many objects are eligible for garbage collection? |
|||||||
|