So I've recently read some concepts in OOP (Yes I'm a noob) and one of the concepts I read is Design Patterns. I've checked most of the patterns and a question struck me:
What's the name or term of such pattern that would simply inherit/extend an abstract class or any class to such matter, or it's not even a design pattern?
e.g. Abstract Class Drink, Class Juice extends Drink, Class Soda extends Drink etc.
Aucun commentaire:
Enregistrer un commentaire