الرجوع
تسجيل الدخول
هذه نسخة مؤرشفة قديمة من الموقع انتقل إلى كاتوديمي ←

What is the output of the following nested ternary operation?

int a = 10, b = 20;
String result = a > b ? "A" : a < b ? "B" : "C";