Java – Convert Array to List

Output:

How many elements you want to add to the array:
red white green

red white green


Comments are closed here.