How to read user input (integer) for an array in Java

Published --