Check out example codes for "convert string to mayus java". It will help you in understanding the concepts better.

Code Example 1

String str = "Hello World!";
System.out.println(str.toUpperCase()); //prints "HELLO WORLD!"

Learn ReactJs, React Native from akashmittal.com