문자열.toUpperCase()
문자열.replace(기존문자, 바꿀문자)
class Solution {
public String solution(String my_string, String alp) {
String answer = my_string.replace(alp, alp.toUpperCase());
return answer;
}
public static void main(String[] args) {
Solution solution = new Solution();
String s = solution.solution("programmers", "p");
System.out.println(s);
}
}