Member inner class. A class i.e. created inside a class but outside the method is known as member inner class.Let's see the example of member inner class and How should we create the instance of member inner class
An interface which is declared within another interface or class is known as nested interface. The nested interfaces are used to group related interfaces so that they can be easy to maintain. The nested interface must be referred by the outer interface or class. It can't be accessed directly.