In decorator pattern, an abstract class implements an interface and a concrete class(decorator) extends the abstract class. What happens to the functionality of the pattern if the concrete class directly implements the interface instead of inheriting it through an abstract class?
Aucun commentaire:
Enregistrer un commentaire