+ 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)
0 Respuestas