Object Oriented Programming using Java - Abstract Classes vs Interfaces

Опубликовано: 21 Февраль 2026
на канале: Alex Luy
55
0

In this video, I give you my take on when to use abstract classes vs interfaces. I tend to always try and use interfaces when building applications, because it's very easy to change code without having to touch every single implementer. I walk through an example of what happens if you change the abstract class, and what needs to be changed.

What is your preference of using Abstract classes vs interfaces? Do you prefer to use abstract classes? Leave a comment below.