List<String> listA = new ArrayList<>();
("赵");
("钱");
("孙");
("李");
("周");
List<String> listB = new ArrayList<>();
("吴");
("李");
("王");
("钱");
("赢");
for (int i = 0; i < (); i++) {
String StrA = (i);
for (int j = 0; j < (); j++){
if (((j))){
//取到共同元素,写逻辑
String StrB = (j);
("=====StrA", StrA);
("=====StrB", StrB);
break;
}
}
}