What is encapsulation ?
Encapsulation is a mechanism to binding data and methods.suppose to take a real time example of java human body name and age are data and action are talk an walk and run these are methods/ process the combination of human body its depending upon the nervous mechanism.
|
All times are GMT +1. The time now is 08:53 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
GardenBanter