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

Given the following code, what is supposed to appear on the output screen?

double a = 6.5; a += a+1;
System.out.println(a);
a = 6; a /= 2;
System.out.println((int) a);