How do you check if a string contains a specific substring in Java?
You use the .findSubstring() method to check for a substring in Java.
That's not correct. There is no .findSubstring() method in Java.
Can you try again and explain how you would use either .contains() or .indexOf() to check for a substring?