I wish to know when we can use an interface extending another interface. I wish to know a practical example and when we use it.
When we want to use multiple inheritance in our application then one interface should extends other interface.
To make the parallel development of your application it is very necessary to write your code in such a way that you can incorporate newly discovered requirements into the existing code as painlessly as possible. So, if we implements the interface then concrete class names locks you into specific implementations, making down-the-line changes unnecessarily difficult. Therefore, we extends interface.