SAIC interview question

Garbage collection between different languages