Write a difference between the functions isUpperCase( ) and toUpperCase( ).
33 Likes
Answered By
16 Likes
char ch = '9'; res= Character.isDigit(ch);
Predict the output of the following code snippet:
char ch='B', char chr=Character.toLowerCase(ch); int n=(int)chr-10; System.out.println((char)n+"\t"+chr);