ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What does the .upcase method do?
Convert the string to uppercase
Convert only lowercase string to uppercase and vice-versa
Convert the string to lowercase
None o the mentioned
Correct Answer: A — Convert the string to uppercase
.upcase method is used to change the given string to uppercase.