O'Reilly logo

Pragmatic Scala by Venkat Subramaniam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Wrapping Up

We explored working with objects in this chapter. You saw how to concisely create classes and extend them. You also learned to alias types and to create parameterized types and enumerations. Finally, you saw singletons, companion objects, and Scala’s package objects. That’s a boatload of features. Take some time to practice with what you’ve learned so far. In the next chapter we’ll move from creating classes to working with types and type inferences.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required