In this article, we will see how to use uppercase method of String class in Java.
In Java, Strings, we can use uppercase method to change a char acter sequence to upper case in a String object.
Lets look to our code.
String x = "abc";
System.out.println(x.ToUpperCase());
Lets see it in an example.
In above example, we created two String object. We used upper case method to change sequence to upper case.