State the value of y after the following is executed: char x = '7'; y = Character.isLetter(x);
Advertisements
प्रश्न
State the value of y after the following is executed:
char x = '7';
y = Character.isLetter(x);
पर्याय
false
7
true
'7'
MCQ
Advertisements
उत्तर
false
Explanation:
As a result, the Character is stored in the variable x. In y, letter(x) returns false.
shaalaa.com
Introduction of Values and Data Types
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
