IS-A and HAS-A Relationship in Java (OOP Concepts)
In Object-Oriented Programming (OOP), IS-A and HAS-A relationships define how classes interact with each other.
IS-A :
represents inheritence between classes.
eg: Audi is a car.
Defined using extends or implements keyword.
indicates that a s...
sdetinsider.hashnode.dev2 min read