Have you looked at the definition of the String.contains() method?
it says
CharSequence is an interface that a class can implement. The String class implements it.

To find a subString in a...