Advertisements
Advertisements
Question
Differentiate between toLowerCase() and toUpperCase().
Distinguish Between
Solution
S. No. | toLowerCase() | toUpperCase() |
1. | Converts all the characters in the String to lowercase. | Converts all characters in the String to upper case. |
2. | Example:
|
Example:
|
3. | In the example above, the outcome will be Josh. | In the case above, the output will be KITE. |
shaalaa.com
Is there an error in this question or solution?