Pergunta de entrevista da empresa SAP

They asked me how to implement addAll and getAII on an array at runtime in o1.