Encapsulation helps in isolating implementation details from the behavior exposed to clients of a class, and gives you more control over coupling in your code.
239 questions
203 answers
2 comments
692 users