Answers for "Inheritance is used for code reusability, discuss what makes difference between the “has a” relationship and “is a” relationship. List with the real life examples."

0

is a and has a relationship in java

class Room {

    Table table = new Table();

}
Posted by: Guest on January-12-2021
0

is a and has a relationship in java

class Apple extends Fruit {

}
Posted by: Guest on January-12-2021

Code answers related to "Inheritance is used for code reusability, discuss what makes difference between the “has a” relationship and “is a” relationship. List with the real life examples."

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language