Archives: Array

Java – Bubble Sort Array Example


Java – Convert Array to Map using Commons ArrayUtils

This example use the Apache Commons lang’s ArrayUtils class to convert a two dimensional array to a Map object.


Java – Convert Array to List

Output:

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

red white green