Encapsulation is the process of combining data and functions into a single unit called class. Using the method of encapsulation, the programmer cannot directly access the data. 

Encapsulation clearly represents the ability to bundle related data and functionality within a single, autonomous entity called a class. 

Encapsulation helps by breaking a program down into small, self-contained entities.  


Popular posts from this blog

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin

Exception handling with RestTemplate

Warning : Hardcoded string "str", should use @string resource