Тести
Мова сайту: Українська
Українська
English
Русский
Тести з програмування
Вхід
Реєстрація
Тести з програмування
Теорія
Сніпети
Статті
Головна
Android
Ціни
FAQ
Історія Cosmo
Правила та умови сервісу
Політика конфіденційності
Політика щодо файлів cookie
Зворотній Зв’язок
postfix operator
:
Мова контенту: English
Русский
What will be indicated in the console? public class D { public static void main(String[] args) { E e = new E(); e.someVariable = 100; e.doIt(e); System.out.println(e.someVariable); } } class E { public int someVariable = 10; public void doIt(E aE) { aE.someVariable++; } E() { } }
postfix operator
What will be printed as a result? public class Test { public static void main(String[] s) { for (int i = 2; i < 10; i = (i++) + i--, i++) { System.out.print(--i); } } }
postfix operator
What is the result of the following code: public class MainClass { public static void main(String args[]) { int k = 2; int m = 10; int s = 1 >> k++ + ++m - --k - m-- << 1; System.out.println("s = " + s); System.out.println("k = " + k); System.out.println("m = " + m); } }
postfix operator
← Попередня
1
Наступна →
Зареєструйся Зараз
або
Підпишись на майбутні тести