JamesBowen
19+ years progress programming and still learning.
I have a selection of independent class objects which all different functionality and I want to create a new class object which inherits one or more of them. How do I do this, I keep ending up at 'interfaces' but I don't think that's what I want.
Here is what I'm trying to do:
Here is what I'm trying to do:
Code:
/** ClassObj1.cls**/
CLASS ClassObj1:
METHOD private void foobarA:
END METHOD.
METHOD private void foobarB:
END METHOD.
END CLASS.
/** LibClassObj2.cls**/
CLASS LibClassObjY:
METHOD private void foobarX:
END METHOD.
METHOD private void foobarY:
END METHOD.
END CLASS.
/** ClassObjABC.cls**/
CLASS ClassObjABC inherit LibClassObj1 LibClassObj2: /** How do I inherit more than one class object??**/
THIS-OBJECT:foobarB().
THIS-OBJECT:foobarX().
END CLASS.