Encapsulation
-
Sir, My question is based on ensapsulation.I know the encapsulation(hiding the background details from the user). Now my question is when the website is uploaded .In the aspx page we can view only the html code .I mean vb file or .cs don't appear online.If we can't view the vb file or .cs file then what makes the encaplulation means . Thanks
-
Sir, My question is based on ensapsulation.I know the encapsulation(hiding the background details from the user). Now my question is when the website is uploaded .In the aspx page we can view only the html code .I mean vb file or .cs don't appear online.If we can't view the vb file or .cs file then what makes the encaplulation means . Thanks
-
I think you're confusing the role of the "user" here. The user would be the programmer that is using that class, not the end user.
-
The "user" can also be another class. If class A is using class B, it only needs to know enough to use the class B, not everything that the class B contains.
--- b { font-weight: normal; }