# packages

Two types of packages in Java:

* Built-in packages
* User defined packages

## Built-in packages

> From the Java JDK , used to write Java applications

Examples:

* java.lang
* java.util
* java.io
* java.net
* java.util.stream
*   java.sql

    ...etc.

## User defined packages

> Packages which are created by user to include different files in application

Why?

* Code Organization
* Access Control
*   Preventing Naming Conflicts

    ...etc.
