java force lowercase code example Example 1: java string lowercase string.toLowerCase(); Example 2: character to lower java Character.toLowerCase(char ch)