0

Why is the answer A?

char x = 'B' ; char y = 'b' ; char z = 'a' ; z+=x-y; System.out.print(z);

5th Feb 2020, 10:43 AM
Alesh Boldrew
Alesh Boldrew - avatar
3 Respostas
+ 2
Алексей Болдырев , you should check the ascii codes of each character perform the arithmetic operations and then find the character which is related to the number of z 🐱
5th Feb 2020, 10:49 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
Thanks
5th Feb 2020, 11:22 AM
Alesh Boldrew
Alesh Boldrew - avatar