Ok. Next question.
I know (from reading) about using a class interface and IMPLEMENTS, pretty much how it is used(created that is).
But, what is it really for? I mean, some where the implementing of the Implements logic is missing for me.
Why wouldn't I just declare a variable as Object, and depending on a condition, assign the business logic class, which, in each different class, has the same methods as an interface, to the variable.
Such as with a PayIncrease method for different classes (clsStaff, clsManagement,etc.). If I have to list in each class all of the methods of the PayIncrease interface anyways, why use the interface?
Or have I missed something?