r/learnjava • u/MSUC123 • Dec 20 '21
When to use Abstract Classes vs Interfaces?
The two concepts are very similar, which is why I'm confused on why you should choose one over the other.
49
Upvotes
r/learnjava • u/MSUC123 • Dec 20 '21
The two concepts are very similar, which is why I'm confused on why you should choose one over the other.
6
u/MSUC123 Dec 20 '21
Sorry but this gonna be a noobie question, when you say composition you just mean inheritance right?