Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. No, but we can use wild card (*) to do so|
For example -
will import all packages with name starting with java.util
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  package   import packages Asked in 1 Companies basic|
|What are concepts introduced with Java 5 ?|
|Can I import same package/class twice? Will the JVM load the package twice at runtime?|
|What is "Import" used for ?|
|What is a Static import ?|
|Do we need to import java.lang package ?|
|Which of the following syntax is correct ?|
|Is it a good practice to use Asterick(*) in import statement to load multiple packages with single import statement ?|
|Why is it important to close files and streams ?|
|Difference between import and include directive in jsp|