March 2012
Intermediate to advanced
384 pages
8h 36m
English
Topics in This Chapter ![]()
• 7.3 Chained Package Clauses — page 77
• 7.4 Top-of-File Notation — page 77
• 7.5 Package Objects — page 78
• 7.6 Package Visibility — page 78
• 7.8 Imports Can Be Anywhere — page 80
• 7.9 Renaming and Hiding Members — page 80
• 7.10 Implicit Imports — page 80
In this chapter, you will learn how packages and import statements work in Scala. Both packages and imports are more regular than in Java; they are also a bit more flexible.
The key points of this chapter are:
• Packages nest just like ...
Read now
Unlock full access