Question: What will the following code output? int apples = 0, bananas = 2, pears = 10; apples += 10; pears /= 10; System.out.println (apples +
What will the following code output?
int apples = 0, bananas = 2, pears = 10;
apples += 10;
pears /= 10;
System.out.println (apples + " " +
bananas + " " +
pears);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
