filmov
tv
inheritance (IS A Relationship) vs Aggregation(HAS A Relationship) in Java | Java interview question

Показать описание
Your queries:-
inheritance is a relationship
inheritence is a relationship
inheritance is a relatiopnship
inheritence is a relatiopnship
Inheritance is like an IS-A relationship and Aggregation is like a HAS-A relationship. When to use what is explained in this video.
I created this channel to increase knowledge awareness about java related topics and explain those topics that every java developer finds difficult to learn or get started with.
00:00 Problem Statement
00:27 2 Options :- Inheritance vs Aggregation
00:52 Solution
inheritance is a relationship
inheritence is a relationship
inheritance is a relatiopnship
inheritence is a relatiopnship
Inheritance is like an IS-A relationship and Aggregation is like a HAS-A relationship. When to use what is explained in this video.
I created this channel to increase knowledge awareness about java related topics and explain those topics that every java developer finds difficult to learn or get started with.
00:00 Problem Statement
00:27 2 Options :- Inheritance vs Aggregation
00:52 Solution