Scala, Design Patterns, Programming, Builder Pattern, Coding.
of the class. class BookBuilder[SatisfiedConstraint <: BookConstraint] protected (val title: String, val author: String, val price: Double) The BookBuilder has two constructors. Both are protected in order for the BookBuilder to be instantiated in the companion object that it has, or instantiated