After execution of which lines 0 will be displayed, if i = 0?
Explanation
Initial value of i variable will be the result of the postfix operations i++ and i--.
48 (code of '0') will be the result of the i + "0" expression.

The question is too easy imo, I'd replace the (i) version with something tricky, like forgetting a semicolon in the end.

2023 Feb 17, 1:02:29 PM

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Java
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести