Abstraction vs encapsulation! | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 Respuestas