You can also take it a step further and inherit methods and attributes from multiple classes. Take a look at the following example.
We have two base classes: Student and Employee. Our derived class Intern inherits from both of these because intern is still a student but is currently also an employee. That means that an Intern has access to all of the attributes and methods that Student and Employee have.