Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Character Indices Sum Challenge | String Advanced
Java Extended
course content

Contenido del Curso

Java Extended

Java Extended

1. Deep Java Structure
2. Methods
3. String Advanced
4. Classes
5. Classes Advanced

Character Indices Sum Challenge

Tarea

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Tarea

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 3. Capítulo 5
toggle bottom row

Character Indices Sum Challenge

Tarea

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Tarea

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 3. Capítulo 5
toggle bottom row

Character Indices Sum Challenge

Tarea

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Tarea

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Tarea

Write a method that finds the indices of the first and last occurrence of a character in a string and returns their sum. Keep in mind that some letters may be in uppercase, so convert the string to lowercase beforehand.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 3. Capítulo 5
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt