Nihilent interview question

Core Java