Check to see if two arraylists contain a similar component [duplicate]

You can compare each element of this arraylist to each element of that arraylist.if they equal you will print…you can use for each loop.

Browse More Popular Posts

Leave a Comment