Packages and Encapsulation

  • John HuntEmail author


This chapter discusses the encapsulation and packaging features of Scala. The concept of packages is discussed, along with some concrete examples. It then illustrates how the encapsulation facilities can allow quite fine-grained control over the visibility of the elements of your programs.

Copyright information

© Springer International Publishing AG 2018

Authors and Affiliations

  1. 1.Midmarsh Technology LtdBath, WiltshireUK

Personalised recommendations