Java Substitua o segundo char de uma corda

class Main
{
    public static void main(String[] args)
    {
        String str = "Techie Delight";
        char ch = '_';
        int pos = 6;
 
        StringBuilder sb = new StringBuilder(str);
 
        // replace character at the specified position
        sb.setCharAt(pos, ch);
        str = sb.toString();
 
        // print the modified string
        System.out.println(str);
    }
}
Angry Albatross