Packages in Java – Objective

This “Core Java Practice Test on Packages in Java” providing set of objective type questions on java Packages to test your theoretical skills and technical skills.

1. What is import?


2. Why packages used in java application?


3. Will import statement load the class directly into JVM?


4. What is jar file?


5. How to import all the classes of a package at one instance?


6. What is the super package of lang, io, awt, net, sql?


7. How to create jar files?


8. Where we need to place package statement in the java application?


9. How to work with jar files?


10. How to extract jar files?


Question 1 of 10

Share this