Latest Java Aptitude Question SOLUTION: function of array