java – Add String Array to ArrayList

java – Add String Array to ArrayList

ArrayList<String> aList = new ArrayList<String>(Arrays.asList(question1));
aList.addAll(Arrays.asList(question2));

java – Add String Array to ArrayList

Leave a Reply

Your email address will not be published. Required fields are marked *