Тесты
Язык сайта: Русский
Українська
English
Русский
Тесты по программированию
Вход
Регистрация
Тесты по программированию
Теория
сниппеты
Статьи
Главная
Android
Цены
FAQ
История Cosmo
Правила и условия сервиса
Политика конфиденциальности
Политика в отношении файлов cookie
Обратная Связь
import keyword
:
Язык контента: English
Русский
What is the result of the following program execution? import static java.lang.Math.*; public class StartClass { public static void main(String[] args) { System.out.println(max(1, 2)); } }
import keyword
What will the compilation result be? package com.one; import static com.two.Two.*; public class One { int x1 = Two.tiger; //1 int x2 = tiger; //2 int x3 = com.two.Two.tiger; //3 int x4 = two.Two.tiger; //4 } Second file: package com.two; public class Two { public static int tiger = 1414; }
import keyword
Is importing of the package java.awt, recorded in the program as follows: import java.awt.*; sufficient to use classes in the package java.awt.event (without naming the package)?
import keyword
Which of the following packages are automatically imported into all Java-program?
import keyword
What will be the result of compiling and running the following code? import static java.lang.Byte.*; import static java.lang.Integer.*; public class Test { public static void main(String[] args) { System.out.println(MAX_VALUE); } }
import keyword
← Предыдущая
1
Следующая →
Зарегистрируйся сейчас
или
Подпишись на будущие тесты