Select from following answers:- Gen-0,Gen-1 and Gen-2

- Gen-A,Gen-B and Gen-C
- Gen-1,Gen-2 and Gen-3
- Gen-Alpha,Gen-Beta and Gen-Coma
- All Above
There are three types of generations in garbage collector.
Generation 0 – This identifies a newly created object that has been never marked for collection.
Generation 1 – This identifies an object which has been marked as collection but not removed.
Generation 2 – This identifies an object that has survived more than one sweep of the Garbage collector.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator