Which statements about startsWith and endsWith are true? Select all that apply.
Both return matched substrings
Both ignore letter case
startsWith tests the beginning✓Правильный ответ
endsWith tests the ending✓Правильный ответ
Объяснение
Both methods perform case-sensitive boundary tests and return booleans. They do not return the matched text, and a suffix test does not search every interior position as though it were includes.