Answers for "java string ,methods"

0

java String method

String txt = "Hello World";
System.out.println(txt.toUpperCase());   // Outputs "HELLO WORLD"
System.out.println(txt.toLowerCase());   // Outputs "hello world"
Posted by: Guest on July-17-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language