Java String toUpperCase() | Example Program

The Java String toUpperCase() method converts all the lowercase letters of a string into upper case and returns that upper-cased string. It has the following general form.Syntax:   1.  public String toUpperCase() 2.  public String toUpperCase(Locale locale)The second method converts all the characters of a string into uppercase using the rules of specified locale. Let’s see … Read more