Answers for "how to accept lowercase and uppercase in java"

0

lower case and upper case java

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 "how to accept lowercase and uppercase in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language