//PROGRAM 11-14 class DemoReplace { public static void main(String[] args) { String s1 = "Pemrograman Java"; String s2 = s1.replace("Pemrograman", "Program"); String s3 = "Java".replace('v', 'w'); System.out.println("s2 : " + s2); System.out.println("s3 : " + s3); } }