Solución
solution.tsTypeScript
public class Solution {
public String capitalizeFirstLetter(String text) {
// Escribe tu solución aquí
if(text.isEmpty()){
return text;
} else{
char inicial = Character.toUpperCase(text.charAt(0));
return inicial + text.substring(1);
}
}
}0respuestas