mercredi 1 juillet 2015

Search One array elements in another array in java [duplicate]

This question already has an answer here:

I have two Arrays for example

int a[]={1,2,3,4,5,6} int b[]={9,8,7,8,1,15,2,25,6}

I want search elements of a[] in b[] and return all common elements in another array temp[]

Aucun commentaire:

Enregistrer un commentaire