1Z0-811 Primitives, Strings and Operators • Set 2
1Z0-811 Primitives, Strings and Operators Practice Test 2 — 15 questions with explanations. Free, no signup.
What is the value of y?
Refer to the exhibit.
public class Test {
public static void main(String[] args) {
int x = 10;
int y = x++ + ++x;
System.out.println(y);
}
}