I have an array that is initialized like:
Element[] array = {new Element(1), new Element(2), new Element(3)};
I would like to convert this
Simplest way to do so is by adding following code. Tried and Tested.
String[] Array1={"one","two","three"}; ArrayList s1= new ArrayList(Arrays.asList(Array1));