Programming Reference/Librarys
Question & Answer
Q&A is closed
This is an old revision of the document!
toUpperCase()
returns the String, converted to uppercase.
package lang; public class Lang { public static void main(String[] args) { String str = "test 1234"; str = str.toUpperCase(); System.out.println(str+" in uppercase"); } }
TEST 1234 in uppercase