Broadridge interview question

Basics of java, c