0

Why 65

Here's a code // Compiler version JDK 11.0.2 class Dcoder { public static void main(String args[]) { char[] sym = new char[1]; sym[0] = '5'; System.out.println(12+sym[0]); } }

11th Aug 2022, 7:04 PM
Мурат Аккизов
Мурат Аккизов - avatar
2 Antworten
+ 5
Character '5' ascii value is 53. So it's 12+53
11th Aug 2022, 7:07 PM
Jayakrishna 🇮🇳
+ 1
Thx
11th Aug 2022, 7:08 PM
Мурат Аккизов
Мурат Аккизов - avatar