String[] string1={"A","B","C"};
String[] string2={"A","D"};
Hi im doing project in Java JDA and want to ask when i have this type of code and want to do boolean if something from string2 is in string1 it will return true.
I tried boolean B1=string2.equals(string1.length); but it dont work, in warnings was that '.equals' should be 'Array.equals' but when i tried change it dont want to compile project.
Any help please?