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
How to make a shadow for text in gray?
Which of the following is true about the pseudo-class :visited?
What is the difference between pseudo-elements :after and ::after?
What is the font-variant property for?
Which color will word "text" has? <style> p{ color: green !important; } #p{ color: blue; } </style> <p id="p" style="color: red">text</>
How to change the color of a link to blue when the cursor moves over it?
Зареєструйся Зараз
або
Підпишись на майбутні тести
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати