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
Зареєструйся Зараз
або Підпишись на майбутні тести