java cara mencetak string dalam huruf besar

String str = "hello"; 
String strUpperCase = str.toUpperCase();
Confused Curlew