Java toUpperCase() with examples
The java string toUpperCase() method converts all characters of the string into a uppercase letter. There are two variant of toUpperCase() method.
public String toUpperCase(Locale loc) and public String toUpperCase() Parameter: loc- locale value to be applied.It converts all the characters into lowercase using the rules of given Locale. Returns: returns string in uppercase letter.
WELCOME! TO GEEKSFORGEEKS PLANET.
? KNOW YO? BUI YOU DON'T KNOW ME. I KNOW YOI BUI YOU DON'T KNOW ME.
Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.