Write the output of the following system.out.println(character.is uppercase ('R');
Answers
Answered by
6
Answer:
The output is true.
But i need to rewrite your statement as:
System.out.println(Character.isUpperCase('R'));
Explanation:
Answered by
11
The output is true.
This is because R is in uppercase and so it returns a boolean value which is true.
Similar questions