Encapsulation (computer programming)
In object-oriented programming (OOP), encapsulation refers to the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components. Encapsulation is used to hide the values or state of a structured data object inside a class, preventing direct access to them by clients in a way that could expose hidden implementation details or violate state invariance maintained by the methods.
- Comment
- enIn object-oriented programming (OOP), encapsulation refers to the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components. Encapsulation is used to hide the values or state of a structured data object inside a class, preventing direct access to them by clients in a way that could expose hidden implementation details or violate state invariance maintained by the methods.
- Has abstract
- enIn object-oriented programming (OOP), encapsulation refers to the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components. Encapsulation is used to hide the values or state of a structured data object inside a class, preventing direct access to them by clients in a way that could expose hidden implementation details or violate state invariance maintained by the methods. This mechanism is not unique to OOP. Implementations of abstract data types, e.g., modules, offer a similar form of encapsulation. The similarity has been explained by programming language theorists in terms of existential types.
- Is primary topic of
- Encapsulation (computer programming)
- Label
- enEncapsulation (computer programming)
- Link from a Wikipage to another Wikipage
- Abstract data types
- Access specifiers
- C (programming language)
- C++
- Capability-based security
- Category:Articles with example Java code
- Category:Object-oriented programming
- Class (computer programming)
- Closure (computer programming)
- C Sharp (programming language)
- Delphi (programming language)
- Design Patterns
- Existential types
- Facade pattern
- Information hiding
- Inheritance (object-oriented programming)
- Java (programming language)
- Method (computer programming)
- Module (programming)
- Name mangling
- Object (computer science)
- Object-capability model
- Object-oriented programming
- Object-oriented programming languages
- Opaque data type
- Orthogonality
- PHP
- Python (programming language)
- Reflection (computer programming)
- Robustness (computer science)
- Ruby (programming language)
- Smalltalk
- Software design pattern
- Swift (programming language)
- Yo-yo problem
- SameAs
- Datenkapselung (Programmierung)
- Egységbe zárás
- Encapsulació
- Encapsulamento (informática)
- Encapsulamiento (informática)
- Encapsulation (programmation)
- Enkapsulacija (objektno-orijentisano programiranje)
- Enkapsulacija (programiranje)
- Enkapsulimi (Programimi i orientuar ne objekte)
- Hermetyzacja (informatyka)
- Incapsulamento (informatica)
- Inkapsling (Information Hiding)
- Inkapsuliacija
- İnkapsulyasiya (proqramlaşdırma)
- Kapselointi
- Kapsülleme
- L1Ks
- m.07kg1sq
- Q1305241
- Zapouzdření (programování)
- Đóng gói (lập trình máy tính)
- Ενθυλάκωση
- Інкапсуляція (програмування)
- Енкапсулация (програмиране)
- Енкапсулација (објектно-оријентисано програмирање)
- Инкапсуляция
- Инкапсуляция (программирование)
- Ինկապսուլյացիա (ծրագրավորում)
- כימוס
- تغليف (علوم حاسوب)
- پوشاندن (علم رایانه)
- உறைபொதியாக்கம் (நிரலாக்கம்)
- ინკაფსულაცია (კომპიუტერული პროგრამირება)
- カプセル化
- 封裝 (物件導向程式設計)
- 캡슐화
- Subject
- Category:Articles with example Java code
- Category:Object-oriented programming
- WasDerivedFrom
- Encapsulation (computer programming)?oldid=1108531856&ns=0
- WikiPageLength
- 14702
- Wikipage page ID
- 220919
- Wikipage revision ID
- 1108531856
- WikiPageUsesTemplate
- Template:Citation needed
- Template:Main
- Template:Reflist
- Template:Short description