New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How does my code become more flexible and easy 2 change because of encapsulation?
1 Answer
+ 3
Because you can change how the method works without thinking about how someone else uses the method.