hi friends . i have a small doubt
let us think that i have 2 arraylists a1,a2;
in a1 i have five objects
1,2,3,4,5
and also in a2 i heve 2 objects
3,4
i wantt a method which can compare these two arraylists and print the comman objects in both
i.e 3,4