- Design Patterns and Best Practices in Java
- Kamalmeet Singh Adrian Ianculescu LUCIAN PAUL TORJE
- 120字
- 2021-06-25 20:52:27
Encapsulation
Encapsulation basically means the binding of attributes and behaviors. The idea is to keep the properties and behavior of an object in one place, so that it is easy to maintain and extend. Encapsulation also provides a mechanism to hide unnecessary details from the user. In Java, we can provide access specifiers to methods and attributes to manage what is visible to a user of the class, and what is hidden.
Encapsulation is one of the fundamental principles of object-oriented languages. It helps in the decoupling of different modules. Decoupled modules can be developed and maintained more or less independently. The technique through which decoupled modules/classes/code are changed internally without affecting their external exposed behavior is called code refactoring.
- Vue.js設計與實現
- Python概率統計
- Ceph Cookbook
- ASP.NET Core 5.0開發入門與實戰
- 構建移動網站與APP:HTML 5移動開發入門與實戰(跨平臺移動開發叢書)
- R語言數據可視化之美:專業圖表繪制指南
- Learning Python Design Patterns(Second Edition)
- Elasticsearch Server(Third Edition)
- Python從入門到精通(第3版)
- JavaScript+jQuery網頁特效設計任務驅動教程
- OpenCV 3.0 Computer Vision with Java
- HTML5游戲開發實戰
- Python Social Media Analytics
- 一覽眾山小:ASP.NET Web開發修行實錄
- C++ Windows Programming