Break OO privacy: Difference between revisions

Content added Content deleted
mNo edit summary
Line 14: Line 14:
{{omit from|SmileBASIC}}
{{omit from|SmileBASIC}}
{{omit from|ZX Spectrum Basic}}
{{omit from|ZX Spectrum Basic}}
{{omit from|6502 Assembly}}
{{omit from|68000 Assembly}}
{{omit from|Z80 Assembly}}
{{omit from|8086 Assembly}}
{{omit from|x86 Assembly}}
{{omit from|ARM Assembly}}


Show how to access private or protected members of a class in an object-oriented language from outside an instance of the class, without calling non-private or non-protected members of the class as a proxy.
Show how to access private or protected members of a class in an object-oriented language from outside an instance of the class, without calling non-private or non-protected members of the class as a proxy.