import java.util.*;
class Test {

  public void method() {
    String a = "A";
    <selection>ArrayList<String> listA = new ArrayList<String>();
    listA.add(a);</selection>

    ArrayList<String> listB = new ArrayList<String>();
    ArrayList<String> listC = new ArrayList<String>();
    listB.add("B");
    listC.add("C");
  }
}