That interface is complete. Everybody using it can produce their own implementation without needing to know what the others are doing.E Armitage wrote: . . . complete the full implementation of that interface. . . .
H Melua wrote:I can't construct an object of type interface because it isn't a class...
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Winston Gutkowski wrote:And if you design your program/app properly, there will only be one place that you actually create a someInterface, and thus only one place to change when you have a working implementation.
Ulf Dittmer wrote:Or possibly none, if the object is obtained via injection, or gotten from some API.
H Melua wrote:I meant I can't construct something like "someInterface s = new someInterface()".... because it doesn't have a constructor...
Consider Paul's rocket mass heater. |