import java.util.*;
public class ArrToArrList {
public static void main(String[] args) {
/* Array Declaration and initialization*/
String names[]={"George", "Sam", "Mac", "Alia"};
/*Array to ArrayList conversion*/
ArrList<String> names= new ArrList<String>(Arrays.asList(citynames));
/*Adding new elements to the converted List*/
names.add("Smit");
names.add("Peter");
/*Final ArrayList content display using for*/
for (String str: names)
{
System.out.println(str);
}
}
}