OOP Basics Flashcards
1
Q
Pros of Encapsulation
A
- Reduce Complexity
- Increase Reusability
2
Q
Pros of Abstraction
A
- Reduce Complexity
- Isolate Impact of Changes
3
Q
Pros of Inheritance
A
- Eliminates Redundant Code
4
Q
Pros of Polymorphism
A
Refactor ugly switch/case statements
5
Q
What are the 4 Pillars of OOP?
A
- Encapsulation
- Abstraction
- Inheritance
- Polymorphism