//PROGRAM 11-13 class DemoSubstring { public static void main(String[] args) { String s1 = "Pemrograman Java"; String s2 = s1.substring(12); String s3 = s1.substring(5, 9); System.out.println("s2 : " + s2); System.out.println("s3 : " + s3); } }