SubhanUllah Posted October 11, 2022 Report Posted October 11, 2022 I have never used nested interfaces. The only case I can see where this is sensible is the multi-layered Sealed Interface pattern, e.g. interface Event { // definitions interface Foo extends Event { // Foo-specific event definitions } interface Bar extends Event { // Bar-specific event definitions } }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now