Packages in Scala manage namespaces in large programs. For example, the name connection
can occur in the packages com.sql
and org.http
. You can use the fully qualified com.sql.connection
and org.http.connection
, respectively, in order to access each of these packages.