✏️ Explanatory Question

What will be the output of the following code?

(i)


int k = 5, j = 9;

k += k - j + k;

System.out.println("k = " + k);
System.out.println("j = " + j);

(ii)



double b = -15 * 6;
double a = Math.rint(Math.abs(b));

System.out.println("a = " + a);

👁 131 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Answer not available right now.