Abstraction vs encapsulation! | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Abstraction vs encapsulation!

Why are abstraction and encapsulation two different pillars of oop when abstraction can be achive by encapsulation and vice versa? From my POV, the pillars of oop should be: i.Inheritance ii.Polymorphism iii.Abstraction/Encapsulation(because implementing one can directly result in implementaion of another)

28th Apr 2021, 1:52 PM
Sameer Crestha
Sameer Crestha - avatar
0 Resposta