Quantiphi interview question

Just Google some simple question of java that it