import java.util.Arrays; import java.util.Collections; import java.util.*; import java.io.*; public class ArrToList { public static void main(String args[]) { String[] strArray = new String[] {"Piano", "Guitar", "Flute", "Drums","Violen"}; List l = Arrays.asList(strArray); Collections.sort(l); System.out.println(l); } }