Flash cards
Review the key moves
1/4
Core idea
What is the main idea behind Java String toLowerCase() Method?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
1Quick choice
Which statement best captures the main point of this lesson?
2Fill blank
Complete the missing token from the example code.
___ txt = "Hello World";3Order
Put the learning moves in the order that makes the concept easiest to apply.
The toLowerCase() method converts a string to lower case letters.
Definition and Usage
Java String toLowerCase() Method
❮ String Methods
Example
String txt = "Hello World";
System.out.println(txt.toUpperCase());
System.out.println(txt.toLowerCase());Definition and Usage
The toLowerCase() method converts a string to lower case letters.
Note
The toUpperCase() method converts a string to upper case letters.
Syntax
public String toLowerCase()Parameters
None.
Technical Details
| Returns: | A String value, representing the new string converted to lower case |
|---|