Book a Demo

Author Topic: realizing interfaces: methods get copied?  (Read 2549 times)

tstuefe

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
realizing interfaces: methods get copied?
« on: January 21, 2004, 09:32:36 am »
Hi all,

I'm defining an interface i with function foo(). Now I define 20 classes which all implement interface i. Now I have to change the function foo() in interface i (I'm still ni the mids of development) and I expected all deriving classes to change their implementations of foo() too, but no.

It seems that when realizing an interface, the methods are simply copied to the class instead of somehow referring to the original foo() in interface i. So I have to change all 20 classes manually (and hope I don't miss one).

Any ideas?

Thanks! Thomas