Nested interface is one which is defined inside some class. It can be declared as public, private or protected.
I seriously cant find any use of private interface..it cant be implemented by any class and cant even be used by the same class where it is defined.
So what's the point in having private nested interface?
I seriously cant find any use of private interface..it cant be implemented by any class and cant even be used by the same class where it is defined.
So what's the point in having private nested interface?
Comment