Hi Mr.Ashwin,
Thanks for ur explaination. But u've talked about interface inside interface. But what abt interface inside a class. Could u explain that also in detail. Please.......
When an interface is declared inside a class, it behaves as a static member of the outer class. (i.e.,)
i) It cannot access non-static members of the outer class
ii) Can be used outside the class as "<OuterClassName>.<InterfaceName>", i.e., you need not have an instance of the outerclass to access the Interface
Apart from this, it behaves as a normal interface