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)?
Explanation
The symbol * when importing packages means only possibility to use classes declared in it that does not belong to the class scope of its sub-packages.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты