Convert a String to Upper Case in Java
This tutorial will show you how to convert a string to upper case in Java. To convert a string to upper case, call the toUpperCase() method on the string.
Below is an example:
String original = "hello";
String upperCase = original.toUpperCase();

0 comments:
Post a Comment