Computer Applications
Differentiate between isUpperCase() and toUpperCase()
Java Library Classes
68 Likes
Answer
isUpperCase() | toUpperCase() |
---|---|
It is used to check if the character given as its argument is in upper case or not. | It is used to convert the character given as its argument to upper case |
Its return type is boolean | Its return type is char |
Answered By
44 Likes