Object-Oriented Programming
Object Oriented Programming can be described by the following main concepts :
- Abstraction :
- showing the important details to the user.
- we only care about calling the method, we don’t care about the underline implementation.
- Inheritance:
- allows code reusability.
- using data and methods from class to another.
- Polymorphism:
- poly: many / morphism: forms.
- allows to determine which function to run while the program is running.
- Encapsulation:
- we can make things public and private.
- we can get and set.