1 Reply Latest reply: Jul 23, 2013 6:33 PM by jschellSomeoneStoleMyAlias RSS

    How to constrain a sub-class override a method with some rules

    94662204-9fac-42f0-812a-bdbc561d273e

      Hello,

       

      I have know that we can constrain a sub-class override a method by extends an abstract class or implement an interface. However, it can't rule the sub-class how to override this method. Now, I want any sub-class must override such method with some rules, for example, handle with a variable. Any idea about this?