Java
Class <b>D ...
Мова сайту: Українська
Українська
English
Русский
Тести з програмування
Вхід
Реєстрація
Тести з програмування
Теорія
Сніпети
Статті
Головна
Android
Ціни
FAQ
Історія Cosmo
Правила та умови сервісу
Політика конфіденційності
Політика щодо файлів cookie
Зворотній Зв’язок
Class
Dog
is created in the package
animals
, and class
Peter
- in the package
humans
. Choose all appropriate variants of description for
import
construction,so that class
Peter
will be able to create and use objects of class
Dog
?
import ../animals/Dog;
import /animals/*;
import animals.Dog;
import Dog.animals;
import *.animals;
import animals.*;
Explanation
For this case
import package.class
construction is used, where
class
could be a concrete class name or symbol
*
.
Подобається
Ввійдіть
щоб вподобати
Комментувати
Ввійдіть
щоб прокоментувати
Поширити
Tweet
Тести з
J
ava
Приєднуйся і вивчай Java
або
Дізнайся більше про
Тести з Java онлайн
Слідкуй за CodeGalaxy
Мобільний додаток Beta
Зворотній Зв’язок
Продовжуйте вивчати
тести з Java
What will be the result of code execution? var obj = { "first":"first", "2":"2", "34":"34", "1":"1", "second":"second" }; for (var i in obj) { alert(i); };
What will be the result of code execution? (function(){ return typeof arguments; })();
What will be the result of code execution? console.log(typeof x, typeof String, typeof String.prototype, typeof String.prototype['concat']);
Consider following HTML snippet: <p> <span>Something_1</span> <span>Something_2</span> </p> What will be the result of the execution following code? $('span').wrapAll('<div></div>');
Which sign does jQuery use as a shortcut for jQuery?
Consider following HTML snippet: <p>first paragraph<p> <p>second paragraph<p> <p>third paragraph<p> What is the correct jQuery code to set the background color of all p elements to red?
Зареєструйся Зараз
або
Підпишись на майбутні тести
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати