My answer----3 ie all the objects.
Since the main method ends at line 12, shouldn't all the objects be eligible for garbage collection??
Maybe the question is *not* a trick question and is an asking you to actually calculate how many objects are eligible for GC, before the method exits.
Henry