0

Please could someone help me make a correction I've been trying to get an output apart from access denied

I've tried comparison but even if it's correct it keeps telling me access denied https://code.sololearn.com/chxiqHmYB3vh/?ref=app https://code.sololearn.com/chxiqHmYB3vh/?ref=app

12th Apr 2022, 4:36 PM
Alfred Ibe
5 odpowiedzi
+ 1
Use equals() method for string comparisons: if(bro.equals(name[0]))
12th Apr 2022, 4:38 PM
Jayakrishna 🇮🇳
0
Okay thanks
12th Apr 2022, 4:40 PM
Alfred Ibe
0
What if I want to include all the element of the strings
12th Apr 2022, 4:41 PM
Alfred Ibe
0
Means? Which string?
12th Apr 2022, 4:45 PM
Jayakrishna 🇮🇳
0
Sorry the array
12th Apr 2022, 4:46 PM
Alfred Ibe