0
What is the benefits of encapsulation in object oriented programming ?
if you know any benefits another that please put it here - Control the way data is accessed or modified. - Code is more flexible and easy to change with new requirements. - Change one part of code without affecting other parts of code.
4 Réponses
0
Why do you need more benefits. The three benefits you have named are really good and extremely important. Although if you are a beginner, just start coding, make a mess. Discover the problems and start learning about encapsulation.
0
thanks for you but I said the question to the discussion because I did not understand encapsulation well
0
Encapsulation has been unclear for me a long time. The benefits of it came really slowly after I have seen a lot of code.
0
thanks alot