Suppose I’d like to implement the templating pattern, but the only real differences between the subclasses are their choices of some invariant dependencies. Is there a drawback to preferring this style: public abstract class AbstractClass { private final DependencyA dependencyA; private final DependencyB dependencyB; public AbstractClass(final DependencyA dependencyA, final DependencyB dependencyB) { this.dependencyA = dependencyA;Read more