Interview Question: Encapsulated Concept

Sample Question #277 (programming – OOP)
 
Explain what encapsulation is and why it’s so important.
Advertisements
This entry was posted in Sample Qs. Bookmark the permalink.

2 Responses to Interview Question: Encapsulated Concept

  1. says:

     for the class is integrity that can’t be easy changed by others …
    i am rookie …
     

  2. Unknown says:

    Encapsulation:"Don’t show me the details… I’m not interested.   Just tell me what the interface is, thank you very much!"It’s the hiding of the implementation and publication of the interface.   A black box where you know what the outside buttons and controls do, but you have no idea what’s inside the box that makes it work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s