Advertisements
Advertisements
प्रश्न
Differentiate between toLowerCase() and toUpperCase().
अंतर स्पष्ट करें
Advertisements
उत्तर
| 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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
