I have just observed try-a great inheritence and has-a theme dating

I have just observed try-a great inheritence and has-a theme dating

I’m piece complicated with was-a good, has-a and you may spends-a romance away from group, I know it’s a fundamental concepts away from OOPS and you can Heredity.

IS-A beneficial is quite simply you to. A good labrador Is-Your pet dog, a good printer ink Is actually-Good peripheral, and the like. IS-A beneficial id modelled by social heredity.

The essential difference between Possess-An excellent and you will Then followed-IN-TERMS-Out of (otherwise Spends) is a little a whole lot more refined, and you will comes down to perhaps the contains product is needed to a person of one’s getting target.

Such as, an automible Have-A steering controls. This can be a love that is meant because of the nature out of the thing you’re modeling, but is maybe not Is actually-An effective (an automobile Is-NOT-A steering wheel). Pokračovat ve čtení „I have just observed try-a great inheritence and has-a theme dating“