# ArrayList<Contact> list = new ArrayList(Arrays.asList(contacts)); or List<Contact> list = Arrays.asList(contacts);