Deutsche Telekom interview question

oops concept, Exception handling, Memory management