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?
Explanation
For this case import package.class construction is used, where class could be a concrete class name or symbol *.

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Java
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести