HERE Technologies interview question

Basic Core Java