java tutorial - Java Strings toUpperCase() method - java programming - learn java - java basics - java for beginners
Learn Java - Java tutorial - Java strings to uppercase - Java examples - Java programs
Description
The toUpperCase () method has two options. The first option converts all the characters in a given string to uppercase, using the rules of this locale.
- The second option takes the locale as an argument for use during the conversion to uppercase.
Syntax
Syntax of this method:
Options
Detailed information about the parameters:
- No.
Return value
- In Java, toUpperCase () returns a string that is converted to uppercase.