how to capitalize user input in java 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!"