In OOP, IS-A relationship is completely inheritance . This means, that the child class is a type of parent class. For example, an apple is a fruit. So you will extend fruit to get apple.
Read moreWhat are the relationships in Java?
In Java, we have two types of 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.
Read more