Hi All
when we are explicitly implementing interface like..
if we have 2 interfaces which has same method; one class implements both,
then in derivced class we can not use public as access modifier to those implemented methods.
2 solve this i think we can create one wrapper method.
that method checks the type od object and according to type it will execute the method from those implemented.
I think this will help us to understand the working of interface little more.
No comments:
Post a Comment