Тесты
Язык сайта: Русский
Українська
English
Русский
Тесты по программированию
Вход
Регистрация
Тесты по программированию
Теория
сниппеты
Статьи
Главная
Android
Цены
FAQ
История Cosmo
Правила и условия сервиса
Политика конфиденциальности
Политика в отношении файлов cookie
Обратная Связь
label
:
Язык контента: English
Русский
What is the result of the following program execution? public class Bar { public static void main(String args[]) { label: for (int i = 0; i < 5; ++i) { for (int j = 0; j < 5; ++j) { if (i > 2) break label; System.out.print(j); } System.out.print(" "); } } }
label
What will be the result of the following program execution? public class Abc { public static void main(String[] args) { p1: { p2: { p3: { System.out.print("p3.1 "); if (true) break p2; System.out.print("p3.2 "); } System.out.print("p2 "); } System.out.print("p1 "); } } }
label
← Предыдущая
1
Следующая →
Зарегистрируйся сейчас
или
Подпишись на будущие тесты