Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Can anyone give me an example of encapsulation with a simple code snapid?, this is because I have lees time due to my project and I have to explain it to my fresher friend. :)
Posted
Comments
Arun Jacob 30-Jul-10 3:32am    
Reason for my vote of 1
Better try some books

1 solution

This is a very basic question. There is no need to spend lot of time to explain this to your friend :) . A simple example is a property. Try some online resources or books.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900