In which way, an encapsulation can hide data from the implementation part?
Answers
Answered by
2
Explanation:
Encapsulation means encapsulate object properties , state and behaviours into single logical unit called class. Data hiding says that hiding inner implementation of objects means private methods and properties, the object that use to maintain their state.
Similar questions