Show the output of the following code: String[] array = {“r…
Show the output of the following code: String[] array = {“red”, “green”, “blue”}; ArrayList list = new ArrayList(Arrays.asList(array)); list.add(0, “red”); System.out.println(list);
Read Details