June 2018
Intermediate to advanced
310 pages
6h 32m
English
When calling the constructor, we always instantiate the class we specify. On the other hand, calling a Static Factory Method may produce either instance of the class, or one of its subclasses. We'll come to this after discussing the implementation of this design pattern in Kotlin.
Read now
Unlock full access