Packages in Java
java.lang package
java.io package
java.util package
java.applet package
java.awt package
java.net package
java.lang package
java.lang package contains language support classes ( for e.g classes which defines primitive data types, math operations, etc.) . This package is automatically imported.
java.io package
java.io package contains classes for supporting input / output operations.
java.util package
java.util package contains utility classes which implement data structures like Linked List, Hash Table, Dictionary, etc and support for Date / Time operations.