lower case and upper case java

Solutions on MaxInterview for lower case and upper case java by the best coders in the world

showing results for - "lower case and upper case java"
Sofie
26 Oct 2017
1String txt = "Hello World";
2System.out.println(txt.toUpperCase());   // Outputs "HELLO WORLD"
3System.out.println(txt.toLowerCase());   // Outputs "hello world"
4