+ 3

Can you please tell me why this program has been successfully compiled?

https://code.sololearn.com/cuS4gBv0Z7Dx/?ref=app

27th Jul 2018, 10:04 AM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
2 ответов
+ 1
because it's method take integer value and i passed character values
27th Jul 2018, 11:32 AM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
+ 1
Cause char is implicitly casted to his unicode integer value. If question is steal active 🙂
13th Oct 2019, 5:31 PM
Александар Жижовић
Александар Жижовић - avatar