Advantages of Encapsulation
- If the owner changes the characteristics, it will not affect all the client codes.
- Client cannot access the data directly. So, unambiguous data is avoided.
- Tight encapsulation is a good encapsulation. This means owner provides only getter to the clients.
If You need more visit our site – www.iguddy.com