Java: Nested Interface
An interface declared within another interface or class is called a nested interface.
The nested interfaces in java are used to group related interfaces so that easily maintain. The nested interface can’t be accessed directly. For accessing must be referred to by the outer interface or class.
For example, the Nested interface is just like almirah inside the room, for accessing almirah, first need…
View On WordPress













