OOP Basics Flashcards

1
Q

Pros of Encapsulation

A
  • Reduce Complexity
  • Increase Reusability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Pros of Abstraction

A
  • Reduce Complexity
  • Isolate Impact of Changes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Pros of Inheritance

A
  • Eliminates Redundant Code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Pros of Polymorphism

A

Refactor ugly switch/case statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 4 Pillars of OOP?

A
  • Encapsulation
  • Abstraction
  • Inheritance
  • Polymorphism
How well did you know this?
1
Not at all
2
3
4
5
Perfectly