PTS_CCPROG3 Recap of OOP

Recap

The four pillars of OOP are

Sources

Object Oriented Programming

Abstraction

How to achieve abstraction?

Encapsulation

How to achieve encapsulation?

Encapsulation vs Abstraction?

Inheritance

Why do we need this?

For example:

Polymorphism

Why do we need this?

How to achieve polymorphism?

Wrapping it all up