Java
Is importi ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
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)?
Yes
No
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.
packages
import keyword
1
(1)
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
Related Content
What will the compilation result be? package com.one; ...
Which of the following packages are automatically imported into all Java-program...
Given the following class: public class Main { publ...
Is the absence of a package declaration in the source code acceptable?...
What is the result of the following program execution? ...
J
ava
Quiz
Login to learn Java
or
Read more about
Java Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Keep exploring
Java quizzes
What will be printed out as a result of the following code execution / compilati...
What will be printed out as a result of the following code execution / compilati...
What will be printed out as a result of the following code execution / compilati...
What will be printed out as a result of the following code execution / compilati...
int i = Integer.MAX_VALUE + 10; What is th...
What happens after the following code is compiled and run: ...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment