Hi there, I'm new to java generics, and to further understand i wrote a simple program.. but i think i either got my interface wrong or perhaps dont' fully understand when to parametrize interfaces.
Rightaway a compilation-error, stating that ApparelDryerWasher.dry cannot be applied to ApparelDryerWasher parameter, i understand passing DryerWasher to "dry" is outrageous, but saying obj.dry() would mean Dryable interface cannot be parametrized..should it be?
There are plenty things wrong with my design, I'd like to hear what are the various ways to design/implement this solution..