What is the `extends` keyword used for in Java?
The `extends` keyword allows a class to inherit from another, but it can only be used with abstract classes.
Youâ€™re close, but the `extends` keyword can be used with both regular and abstract classes.
Can you clarify if `extends` can be used with interfaces, and how it differs from inheritance with classes?