Philips Interview Question

explain gen1 and gen2 garbage collection