PDA

View Full Version : difference between implementation and encapsulation,How can we access the hidden info



saneha
04-29-2011, 07:23 AM
Q#1: Major difference between implementation and encapsulation? Q#2: How can we access the hidden information?

Vuhelper
04-29-2011, 07:23 AM
These two concepts “implementation” and encapsulation” can’t be differentiated because
Encapsulation is related to bonding of data and behavior where as implementation is just related to some sort of manufacturing.

We can access hidden information through well defined interfaces. : Messages stimulate interfaces. For example a car has hidden information how to change the Gear internally from end users, but driver/ user of the car access that hidden information/service through well defined interface i.e. “by moving back and forth, around the liver”.