Reply embedded.

 

Pls correct me if I am wrong….

 

Thanks!! and have a nice day!!

Jaspreet

 

-----Original Message-----
From: amit gupta [mailto:[EMAIL PROTECTED]]
Sent
:
Wednesday, December 29, 2004 4:47 PM
To: [EMAIL PROTECTED]
Subject: Re: (PT) Difference between encapuslation and abstraction

 

encapsulation = to encapsulate the data and operation together.

[Jaspreet Oberoi] To hide un-necessary details so that data is hidden from the outside world and prevents it from being manipulated by mistake.

Layman’s example -> Your TV remote. The wiring and the chip inside the remote. You are not interested in what goes inside the remote which enable you to do anything on the TV.

abstraction= to hide the unused data.

[Jaspreet Oberoi] To show only necessary details.

 Layman’s example ->

Your TV Remote => All the buttons which are on the top which you can use to browse channels, volume, etc is an example of abstraction. They are the only controls you/user is interested in.



ashish maheshwari <[EMAIL PROTECTED]> wrote:


Hi to all,
could any one tell me what is the differnce between encapuslation and abstraction.

Thanks in advance.
Ashish





To unsubscribe : [EMAIL PROTECTED]



Yahoo! India Matrimony: Find your life partner online.

To unsubscribe : [EMAIL PROTECTED]






Note:
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.  No confidentiality or privilege is waived or lost by any mistransmission.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. MINDTECK (INDIA) LTD and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.
 
Thank You.



To unsubscribe : [EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to