Pregunta de entrevista de SAP

Read in a textfile containing single digit numbers and convert it into an integer array.