Add packages resources (#1619)
* Update 106-packages.md * Update content/roadmaps/110-java/content/100-java-fundamentals/106-packages.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/1657/head
parent
9b2ae09e43
commit
913b591988
1 changed files with 3 additions and 1 deletions
@ -1 +1,3 @@ |
||||
# Packages |
||||
|
||||
A package is a namespace that mainly contains classes and interfaces. For instance, the standard class `ArrayList` is in the package `java.util`. For this class, `java.util.ArrayList` is called its fully qualified name because this syntax has no ambiguity. Classes in different packages can have the same name. For example, you have the two classes `java.util.Date` and `java.sql.Date`, which are different. If no package is declared in a class, its package is the default package. |
||||
|
Loading…
Reference in new issue