Chapter 14. Captain Amazing the Death of the Object
Sharpen your Pencil
Below is the code detailing the fight between Captain Amazing and Swindler (not to mention his clone army). Your job is to draw out what’s going on in memory when the FinalBattle class is instantiated.
Based on your diagrams, where in the code did Captain Amazing die?