M
Madhur Ahuja
Hello
If and nw and x[] are string object and array of strings.
How do you compare all of them for equality.
I tried it using:
if(nw.equals(x[4].getLabel().equals(x[7].getLabel())))
but produced the error:
cannot resolve symbol method equals(boolean)
Madhur Ahuja
India
If and nw and x[] are string object and array of strings.
How do you compare all of them for equality.
I tried it using:
if(nw.equals(x[4].getLabel().equals(x[7].getLabel())))
but produced the error:
cannot resolve symbol method equals(boolean)
Madhur Ahuja
India