KKajal PalString str = "Hello"; str.setCharAt(2, 'Z'); System.out.println(str); Code snippet for Ques 7504:43