User talk:46.238.28.74

Wrong definition
Hi!

The phrase "or the restricting of direct access to some of an object's components" has no theoretical ground. If you look at the source [1] (Rogers, Wm. Paul (18 May 2001). "Encapsulation is not information hiding". JavaWorld. Retrieved 2020-07-20.) which you refer you will see definition: "Encapsulation refers to the bundling of data with the methods that operate on that data. Often that definition is misconstrued to mean that the data is somehow hidden. In Java, you can have encapsulated data that is not hidden at all." (third paragraph in the article). It is directly point on "Often that definition is misconstrued to mean that the data is somehow hidden", so hiding have no refer with encapsulation!!! Encapsulation is the bundling of data with the methods that operate on that data. And not more!!! There are some OOP languages which have no any restriction to data but they are still OOP languages.

So I will return theoretically right definition in the wiki article. If you have any objections please use public reference to Computer Science article for grounding it. Telesik1 (talk) 19:05, 21 July 2022 (UTC)