Is a and has a relationship?

Is-A relationship: Whenever one class inherits another class, it is called an IS-A relationship. Has-A relationship: Whenever an instance of one class is used in another class, it is called HAS-A relationship.1 Ara 2021

Sizin İçin Seçtik  How do I make an eCommerce app using Flutter?

Leave a Reply

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

Is a and has a relationship?

Is-A relationship: Whenever one class inherits another class, it is called an IS-A relationship. Has-A relationship: Whenever an instance of one class is used in another class, it is called HAS-A relationship.1 Ara 2021

Sizin İçin Seçtik  Does C Sharp have relationships?

Leave a Reply

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

Is a and has-a relationship?

An IS-A relationship is inheritance . The classes which inherit are known as sub classes or child classes. On the other hand, HAS-A relationship is composition. In OOP, IS-A relationship is completely inheritance.

Sizin İçin Seçtik  What is a 5G lab?

Leave a Reply

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