НекоТян124
05.11.2021 10:50

15.string s= "я люблю ! "; int p =s.lastindexof(""); console.writeline(p); 16. string s= "я люблю ! "; string res=s.remove(27); console.writeline(res); 17. string s= "я люблю ! "; string res=s.substring (5); console.writeline (res); 18. string s= "я люблю ! "; int p = s.indexof ("я", -5); console.writeline(p); 20. string s= "я люблю ! "; int p = s.lastindexof('в', 10, -6); console.writeline(p); определить что будет напечатано в результате выполнения фрагмента !

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
Katya08777
08.07.2020 06:07
18. Index was out of range. Must be non-negative and less than the size of the collection.
20. Count must be positive and count must refer to a location within the string/array/collection.
0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота