Computer Applications
Answer
In Java, a package is used to group related classes. Packages are of 2 types:
- Built-In packages — These are provided by Java API
- User-Defined packages — These are created by the programmers to efficiently structure their code.
java.util, java.lang are a couple of examples of built-in packages.