I would like to understand if class inheritance can be used to solve my problem.
Theoretically, I have two simle objects that have all the same abilities as each other but the syntax for accessing each ability is different from object to object.
I would like tohave two classes that have all the same function but different sybtax within the functions. This is of course, ot a problem. I want the user to tell the app tat he is using object A or B today and the app the chooses class A or Band runs seemlessly.
How can I do this?
Thanks for your time
Mickey
Sonil KumarPosted Dec 3, 2021, 12:13 PM
Mickey MarshallPosted Dec 4, 2021, 7:31 PM