I know there are many similar questions that look like mine, but I just wanted to ask for my clarification purposes. Let's say I have 2 lists, which looks like this:
VO vo1 = new VO("This");
VO vo2= new VO("is");
VO vo3= new VO("first");
VO vo4= new VO("list");
List<VO> volist= new ArrayList<>(); // first list
volist.add(vo1);
volist.add(vo2);
volist.add(vo3);
volist.add(vo4);
List<String> str = new ArrayList<>();
str.add("This");
str.add("is");
str.add("first");
Is is possible to loop these 2 list to find out the differences (i.e. "list" is not present in the str list)? How should I do this?