Infosys Interview Question

internal working of GC in java