Atos interview question

When developer have to call finalize ?