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 is it not even a design pattern?
e.g. Abstract Class Drink, Class Juice extends Drink, Class Soda extends Drink etc.