What is the result of the following code compilation?

public class MyFirst {
    public static void main(String[] args){  
        int i, j;
        i = 10;
        j = 20;
        while(++i < --j);
        System.out.println(i);
    }
}

Operators? There are many things that can be called that, I think it'd be better to change the explanation's "operator" to "cycle's body"

2023 Feb 17, 10:46:42 AM

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты