Abstraction is used to hiding the unwanted data and giving only relevant data
Encapsulation means hide code and data to single unit protect from outside world
Abstraction Outer Layout used to in term of design
e.g outer look of mobile like screen and Keypad button to dial the number
Encapsulation Inner layout used in term of implementation
e.g Inner implementation detail of mobile phone screen ,keypad linked circuit
Encapsulation means hide code and data to single unit protect from outside world
Abstraction Outer Layout used to in term of design
e.g outer look of mobile like screen and Keypad button to dial the number
Encapsulation Inner layout used in term of implementation
e.g Inner implementation detail of mobile phone screen ,keypad linked circuit
No comments :
Post a Comment