Class Solution

  • All Implemented Interfaces:

    
    public final class Solution
    
                        

    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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Solution()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String toLowerCase(String s)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait