I had an interview today. I had a question from OOP, about the difference between Encapsulation & Abstraction?
Abstraction: what are the minimum functions and variables that should be exposed to the outside of our class.
Encapsulation: how to achieve this requirement, meaning how to implement it.