Benefits of Encapsulation
by, 04-26-2012 at 06:10 PM (2109 Views)
- A classís field might be made write only or read only.
- A class might be having total access or control at what has been present in fields.
- Class users are not aware of the fact that how to store data in class. Class might be changing the fieldís data type, & class users donít require any change in their code.