👉 In computer science, a subclass of a class is another class that inherits properties and methods from the original class. This allows for more flexible and reusable code in software development. For example, if you have a class `Person` with attributes like name, age, and address, and you want to create a subclass called `Employee` that also has an attribute representing salary, you can define it as: ```python class Person: def __init__(self, name, age): self