QuesAns Print Page – CSKC
Sign In

Search

siteicon
Q&A ICSE2018-01C #7169

Question:

Write a difference between the functions isUpperCase( ) and toUpperCase( ).

Answer:

Both isUpperCase() and toUpperCase() are functions of the Character class.
isUpperCase() accepts a character and returns true if the provided character is uppercase. Else, it returns false.