Janarthan S Sathiamurthy wrote:import java.util.Collections;
List myList = new ArrayList();
String[] myStringArray = new String[] {"Java", "is", "Cool"};
Collections.addAll(myList, myStringArray);
After this code, 'myList' should contain all the elements from the array.
Best regards,
Janarthan S