Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

Can an interface implement or extend another interface?

Category: Java

Interfaces don’t implement another interface, they extend it. Since interfaces can’t have method implementations, there is no issue of diamond problem. That’s why we have multiple inheritance in interfaces i.e an interface can extend multiple interfaces.

Leave a Reply

Your email address will not be published. Required fields are marked *