0

How to use scanner concept to enter array elements of our choice at run time?

8/1/2016 3:31:16 PM

tejaswi

1 Answer

New Answer

0

I think the answer is 'in a loop' int i = 0; Scanner sc = new Scanner(System.in); while(i < arr.length){ //where arr is your array //your code with sc.next() and array initialization }