Here is my code for arrayList ,
String[] n = new String[]{"google","microsoft","apple"};
final List<String> list = new ArrayList<String>();
Collections.addAll(list, n);
how to remove all the elements that containslefrom the above list.
Is there any default method or by looping we have to remove manually.tell me how to do it.Thanks.