java how to take input and change to uppercase code example
Example: convert string to mayus java
String str = "Hello World!";
System.out.println(str.toUpperCase()); //prints "HELLO WORLD!"
String str = "Hello World!";
System.out.println(str.toUpperCase()); //prints "HELLO WORLD!"