What will the following code output? int apples = 0, bananas = 2, pears = 10; apples

Question:

What will the following code output? 

int apples = 0, bananas = 2, pears = 10;
apples += 10;
bananas *= 10;
pears /= 10;
System.out.println(apples + " " +
 bananas + " " +
 pears);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: