Tutorial by Examples

package com { package utility { package serialization { class Serializer ... } } }
The package clause is not directly binded with the file where it is found. It is possible to find common elements of the package clause in diferent files. For example, the package clauses bellow can be found in the file math1.scala and in the file math2.scala. File math1.scala package org { ...
Scala packages should follow the Java package naming conventions. Package names are written in all lower case to avoid conflict with the names of classes or interfaces. Companies use their reversed Internet domain name to begin their package names—for example, io.super.math

Page 1 of 1