What are the Java Package types?

Java Packages are classified into two different java package types namely:

  • Java System Packages – Java System packages are predefined packages offered by Java. Java System packages are a type of Java package that contains wide range of classes and methods to perform different functionalities. The Java System Packages are also termed as Java API Packages.
  • User Defined Packages – User Defined Packages are Java Package Types that can be created by the User. The User can group user defined classes in user defined packages.