Pregunta de entrevista de Prudential

Basic java and oop questions and one quick algo questions with array iteration