dimanche 5 janvier 2020

Is a decorator class always abstract in JAVA?

I've been reading about the decorator pattern. It make sense to me that a decorator class is abstract since I can't see why it should instantiated by it self in any scenario, however I actually haven't found any place that states it has to be abstract no matter what.

Is it correct that it is always abstract?

Aucun commentaire:

Enregistrer un commentaire