Тесты
Язык сайта: Русский
Українська
English
Русский
Тесты по программированию
Вход
Регистрация
Тесты по программированию
Теория
сниппеты
Статьи
Главная
Android
Цены
FAQ
История Cosmo
Правила и условия сервиса
Политика конфиденциальности
Политика в отношении файлов cookie
Обратная Связь
primitive types
:
Язык контента: English
Русский
int i = Integer.MAX_VALUE + 10; What is the result of the given line execution?
primitive types
Mark the answer choices in which the pairs are equal to each other (2 correct answers):
primitive types
Which of the following lines will compile without errors and warnings?
primitive types
int[] x = new int[25] Which of statements below are true?
primitive types
What will be printed as a result of the following code execution? public class Main { public static void main(String args[]) { byte b = 0; while (++b > 0); System.out.println(b); } }
primitive types
Which lines will not cause compilation errors?
primitive types
What will be printed as a result of the following code execution? public class Test { public static void main(String[] args) { int i = 1; add(i++); System.out.println(i); } static void add(int i) { i += 2; } }
primitive types
What will the following code display (ASCII code of '1' is 49)? public class Test { public static void main(String[] args) { char c1 = '1'; char c2 = '\u0031'; char c3 = 49; System.out.println(c1 + c2 + c3); } }
primitive types
What is the following code execution result? Integer i1 = 10; Integer i2 = 10; Double d1 = 10d; Double d2 = 10d; System.out.println(i1 == i2); System.out.println(d1 == d2);
primitive types
What happens as a result of an attempt to compile and execute the following code? byte b1 = 127; b1 += 1;
primitive types
← Предыдущая
1
2
3
4
Следующая →
Зарегистрируйся сейчас
или
Подпишись на будущие тесты