L
Lieven De Foor
Guest
Hi, There is a way to make a protected method callable from a derived class but overridable by making it FINAL. Is there a way to do the opposite? I.e. make a method overridable, but not callable by a derived class. An example could be a protected abstract method that only the base class should call in a specific order or scenario. The derived class is allowed or obliged to provide an implementation, but should never directly call the method. It seems something like this is possible in c++ using "private virtual". I was wondering if any construct in ABL could mimic this... See https://stackoverflow.com/questions/414746/override-but-dont-call and https://stackoverflow.com/questions/29412477/java-method-only-callable-by-superclass
Continue reading...
Continue reading...