I was wondering if the next thing is possible for implementation:
Lets say I've got 2 interfaces while each one of them has 1 function header. For example, iterface1 has function g(...) and interface2 has function f(...)
Now, I make a class and declaring that this class is implementing these 2 interfaces. In the class I try doing the next thing:
I start implementing function g(...) and in it's implementation I make a local class that implements interface2 and I add to this class the implementation of f(...).