Inheritance vs Composition | Coding With Tre'

preview_player
Показать описание
#JavaTutorial #InheritanceComposition #CodingWithTre'
Today, I will discuss the difference between Composition and Inheritance in Java.

If you would like to donate to support the channel:
💲 Cashapp: XxTre95

👍🏾 If you like the video and you would like to watch more; Subscribe here:

👯‍♂️ If you have a friend that you think would like this video, share with them:

⏰👇Here's my most recent Java Tutorial:

😁 Just in case you forgot to subscribe, no problem:

IDE Used:Netbeans

Instagram: @codingwithtre
Рекомендации по теме
Комментарии
Автор

Enjoy the video? Punch the like button!! Have any questions? Comment below!!

codingwithtre
Автор

I like when someone explain tutorials explain concept in short amount of time.

ujjwalbansal
Автор

awesome bro... Make these tutorials more.

ujjwalbansal
Автор

Hope you come out with more videos like the examples related to everyday life things especially anime #narutofan

neftalisalazar
Автор

If the benefit of composition is flexibility, I’m not sure your Window class achieves anything. Subclasses of window should init with instances of other classes; your parent class is handing this down as inheritance.

baphnie