Showing posts with label Nested Interface Program in Java. Show all posts
Showing posts with label Nested Interface Program in Java. Show all posts

Nested Interface

  • 0
     Interfaces in Java,  just like classes  can be nested. An interface declared inside body of another interface is called nested interface. However, the two interfaces exists independently in terms of implemention. It means that one does not needs to implement the methods of both the interface if one implements only one of them. However, inner interface cant exist on its own,