Class Solution

java.lang.Object
g0701_0800.s0709_to_lower_case.Solution

public class Solution extends Object
709 - To Lower Case.

Easy

Given a string s, return the string after replacing every uppercase letter with the same lowercase letter.

Example 1:

Input: s = “Hello”

Output: “hello”

Example 2:

Input: s = “here”

Output: “here”

Example 3:

Input: s = “LOVELY”

Output: “lovely”

Constraints:

  • 1 <= s.length <= 100
  • s consists of printable ASCII characters.
  • Constructor Details

    • Solution

      public Solution()
  • Method Details