iQ Innovation Hub interview question

Arrays, basic of OOPS, JAVA