Encapsulation, Polymorphism and Inheritance - The Tricky Trio
TL;DR:
Encapsulation - Restricting what properties can be called, viewed and set by an object
Polymorphism - Changing an object based on the parameters given to it
Inheritance - Accessing properties from a class' parent to avoid rewriting code
Intr...
vinven.hashnode.dev6 min read