Тесты
Язык сайта: Русский
Українська
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
Следующая →
Зарегистрируйся сейчас
или
Подпишись на будущие тесты