//PROGRAM 11-6 class DemoUpperLower { public static void main(String[] args) { String s = "Pemrograman Java"; String hurufKapital = s.toUpperCase(); String hurufKecil = s.toLowerCase(); System.out.println("String awal : " + s); System.out.println("String huruf besar : " + hurufKapital); System.out.println("String huruf kecil : " + hurufKecil); } }