Answer the question
In order to leave comments, you need to log in
Why is the definition of encapsulation wrong?
The purpose of encapsulation is to group objects together, not to hide information, but many people still believe that encapsulation is about hiding, where did it even come from?
Answer the question
In order to leave comments, you need to log in
The purpose of encapsulation is the union of objectswho told you that?
There is enough structure to combine objects, even OOP is not required.
In capsula - "in a box". Mandatory for normal architecture separation of internal data from external interfaces.
Of course, it also has nothing to do with "hiding information".
Read normal textbooks and do not listen to the nonsense that dropouts mumble into the cell.
Good question to ask you. Why did you give it wrong?)))
Well, come on answer;)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question