java creat arrayloist from array code example Example: java array to arraylist List<Element> list = Arrays.asList(array);