char a = 'Z' ; int x = (int)a ; System.out.println(x) ; What will be the output?
Answers
Answered by
8
Answer:
Hey ☺️✌️
Explanation:
✏️As the ASCII value of uppercase alphabets – 65 to 90.
and the ASCII value of lowercase alphabets – 97 to 122.
✏️The ASCII value of 'Z' is 90
✏️so,the value of x becomes 90
Therefore ,the output display will be:-
➡️▪️90
✒️ Happy to help ☺️✌️♥️...
Best wishes ✌️...
Similar questions
Social Sciences,
3 months ago
Math,
3 months ago
Math,
3 months ago
Math,
7 months ago
Math,
7 months ago
Science,
11 months ago
Chemistry,
11 months ago
World Languages,
11 months ago