IS-A relationship VS has a relationship in C#?

If your class inherits from the other class, it is an “IS-A” relationship. If the class is passed to the other class in the constructor this is a “HAS-A” relationship.

Sizin İçin Seçtik  Insanların ihtiyaçlarını gideren mal ve hizmetleri elde etmek için yapılan her türlü faaliyete ne ad verilir?

Leave a Reply

Your email address will not be published. Required fields are marked *