- 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.
- Learn Blockchain Programming with JavaScript
- Java EE 6 企業級應用開發教程
- Mastering Python Scripting for System Administrators
- Java 9 Programming Blueprints
- SEO實戰密碼
- Windows Phone 7.5:Building Location-aware Applications
- Visual Studio Code 權威指南
- Android系統下Java編程詳解
- Java高級程序設計
- HTML5程序設計基礎教程
- R語言:邁向大數據之路
- PHP從入門到精通(微視頻精編版)
- 測試架構師修煉之道:從測試工程師到測試架構師(第2版)
- 高性能Java架構:核心原理與案例實戰
- Mastering Laravel