H
haig
Hello
Ik get an error on this piece of code:
if((word.charAt(i)).equals("a"){
.....
}
Error: char cannot be dereferenced
Can someone tell me what's wrong? Or how can I compare each letter of the
word to the "a"?
Thanks
Ik get an error on this piece of code:
if((word.charAt(i)).equals("a"){
.....
}
Error: char cannot be dereferenced
Can someone tell me what's wrong? Or how can I compare each letter of the
word to the "a"?
Thanks