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
Зарегистрируйся сейчас
или Подпишись на будущие тесты