March 2019
Intermediate to advanced
242 pages
6h 21m
English
Currently, the proposal is to drop the following inheritance cases:
Allowing for any of the preceding cases would violate the contract of a data class being a carrier of data. At present, the following restrictions are proposed for data classes and inheritance, with interfaces and abstract data classes:
The following figure sums up these inheritance rules:
Let's get started by extending an abstract data class.
Read now
Unlock full access