static void findIntersection(int arry1[],int arry1size,int arry2[],int arry2size){ HashSet hs=new HashSet(); for(int i=0;i