November 2019
Beginner
804 pages
20h 1m
English
So now that you have seen both classes and interfaces/custom types, one question that you might ask yourself is how to choose between the two? When does it make sense to create one rather than the other?
As with many design choices, the general answer is it depends, but here are a few points that you should consider to help you decide.
Consider defining a class when you need to do any of the following:
Read now
Unlock full access