Page 1 of 1

If a word has the word "Cat" in it, case insensitive, return true. hasCat("") → false hasCat("cat") → true hasCat("xcatx

Posted: Sat May 14, 2022 7:19 pm
by answerhappygod
If a word has the word "Cat" in it, case insensitive, return
true.
hasCat("") → false
hasCat("cat") → true
hasCat("xcatx") → true
public boolean hasCat(String s) {

}