Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
The toLowerCase() method in Java converts all uppercase characters in a string to lowercase. It returns a new string with the converted characters.
Related terms
Character: A single unit of information that represents a letter, digit, or symbol. The toLowerCase() method operates on each character within a string.
ASCII: A character encoding standard that assigns unique numeric codes to represent characters. The conversion performed by toLowerCase() follows ASCII rules for changing uppercase letters.
Method Chaining: In programming, method chaining refers to calling multiple methods in sequence on an object. You can chain methods like substring() and toLowerCase() together for more complex transformations on strings.