Question OOP-ENC-0019
HardWhich statement about encapsulation and abstraction is most accurate?
- A.
Encapsulation is only about inheritance
- B.
Abstraction decides what to expose (the interface); encapsulation hides how it is done and protects the data
- C.
Sign up free to see the answer and a step-by-step explanation.