The Artima Developer Community


Errata for Programming in Scala, Third Edition
Chapter 10: Composition and Inheritance
Return to errata index.

Page 190 (PDF page 225):
It is written - "This relationship is called composition because class
ArrayElement is “composed” out of class Array[String],"

I think, it's technically not thorough to call 'Array[String]' a 'class'
when actually it is a 'type' made by passing type 'String' the class
'Array'

;/

FIXED in 3ed 4th printing.

Page number: Book type: Paperback book PDF eBook
Book version: (Or build date. Found on back of title page.)
Your feedback:
Your name: (optional)
Your email address: (optional) (will not be published)

Copyright © 2024 Artima, Inc. All rights reserved.