Computer Science, asked by christinobeck3, 7 months ago

char a = 'Z' ; int x = (int)a ; System.out.println(x) ; What will be the output?​

Answers

Answered by Anonymous
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