DEV Community

Discussion on: Explain Encapsulation and Polymorphism Like I'm Five

Collapse
 
dopitz profile image
Daniel O.

Encapsulation: You can drive a car, but don't need to know how the engine works.
Polymorphism: Brother and sister are two different people but have the same parents.