The three principles of OOP
Encapsulation
- Objects hide their functions (methods) and data (instance variables and method variables)
Inheritance
- Each subclass inherits all variables of it’s superclass
Polymorphism
- Multiple instances of same class, sharing behavior but not state or memory