Content deleted Content added
Classes are not the only means of encapsulation, ie. Javascript is an OO language that supports encapsulation but it has no classes, and you don't need to simulation classes to acheive encapsulation. |
→As information hiding mechanism: Removed superfluous info; maintaining neutral point of view |
||
Line 57:
}
</source>
Below is an example in PHP:
|