___________ capitalizes first character in a sentence.Required to answer. Single choice.
(1 Point)
Answers
Answered by
6
Answer:
To capitalize each word, call the toLowerCase() method to put the string in lowercase format. Iterate the string, if any space if found in previous iteration and current element is not space then call the toUpperCase() method to put the first letter of word in uppercase format and append the string in buffer.
Similar questions