Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.
Example
No.1
Input: “Hello”
Output: “hello”
No.2
Input: “here”
Output: “here”
No.3
Input: “LOVELY”
Output: “lovely”
Code
1 |
public String (String str) { |
近期评论