2 ms·
As an added bonus, sometimes the get() will do something more interesting in a subclass, like query a piece of hardware or a remote sensor. In that case you wa
by gills 18y ago
As an added bonus, sometimes the get() will do something more interesting in a subclass, like query a piece of hardware or a remote sensor. In that case you want the getter as interface so that the client can ignore the underlying complexity.