June 2018
Intermediate to advanced
408 pages
11h 23m
English
Each tree of an object has one or more objects at the root. If the garbage collector can reach the root, the tree is reachable. Any object that is not reached by, or referenced by, GC roots is considered dead and the garbage collector removes it.
Here are the different kinds of GC roots in Java:
Please have a look at the following diagram: ...
Read now
Unlock full access