I have two different String array.
String[] str1={(ABC),(CDE),(DEF),(FGE),(ERT)}; String[] str2={(ABC),(FGE)};
I wanna know is str1 have str2\
You could search each and every element of str2 in str1. Or, more efficiently: sort str1, and use binary search.