Public inheritance signifies__________ relation ship
B
Correct answer
Explanation
Public inheritance in object-oriented programming represents an 'is-a' relationship. A derived class publicly inheriting from a base class should be able to substitute for the base class (Liskov Substitution Principle). For example, if 'Car' inherits publicly from 'Vehicle', a Car IS-A Vehicle. This is in contrast to composition, which represents a 'has-a' relationship.