When to Use an Abstract Class vs. an Interface? #SHORTS

It's critical to know when to use an interface vs. an abstract class to prevent creating the wrong abstractions down the road. Abstractions let us define th...

Khalil Stemmler•25.3K views•1:00

🔥 Related Trending Topics

LIVE TRENDS

This video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!

THIS VIDEO IS TRENDING!

This video is currently trending in Algeria under the topic 'classement premier league'.

About this video

It's critical to know when to use an interface vs. an abstract class to prevent creating the wrong abstractions down the road. Abstractions let us define the properties and behaviours that future objects need to conform to. They help us: 1. Decouple components 2. Create a contract Both of these capabilities are super important for testing. Use interfaces by default but use abstract classes if you also need to define some common behavior for subclasses. #SHORTS

Video Information

Views
25.3K

Total views since publication

Likes
629

User likes and reactions

Duration
1:00

Video length

Published
Nov 15, 2021

Release date

Quality
hd

Video definition

Tags and Topics

This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:

Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.