Java Practice-it | Primitive Data and Definite Loops | Self-Check 2.12: valueOfX

preview_player
Показать описание
Topics:
expressions, variables

Question:
What is the value of variable x after the following code executes?
int x = 3;
x = x + 2;
x = x + x;

Problem:
Рекомендации по теме