Тести
Мова сайту: Українська
Українська
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
Наступна →
Зареєструйся Зараз
або
Підпишись на майбутні тести